File tree Expand file tree Collapse file tree 4 files changed +40
-54
lines changed Expand file tree Collapse file tree 4 files changed +40
-54
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Test
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - develop
8
+ pull_request :
9
+ branches :
10
+ - main
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ${{ matrix.os }}
15
+
16
+ strategy :
17
+ matrix :
18
+ os : [ubuntu-latest, macos-latest, windows-latest]
19
+
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Install CMake
25
+ uses : lukka/get-cmake@latest
26
+
27
+ - name : Install LLVM and Clang
28
+ uses : KyleMayes/install-llvm-action@v1
29
+ with :
30
+ version : " 16"
31
+
32
+ - name : Configure CMake
33
+ run : cmake -Bbuild -DBUILD_TESTS=YES
34
+
35
+ - name : Build
36
+ run : cmake --build build --config Release
37
+
38
+ - name : Test
39
+ run : ctest --test-dir build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# C++Spec
2
2
[ ![ version] ( https://img.shields.io/badge/version-v0.0.0-blue.svg )] ( )
3
- [ ![ Travis] ( https://img.shields.io/travis/toroidal-code/cppspec/develop.svg )] ( https://travis-ci.org/toroidal-code/cppspec )   ;
4
- [ ![ AppVeyor] ( https://img.shields.io/appveyor/ci/toroidal-code/cppspec/develop.svg?label=msvcc )] ( https://ci.appveyor.com/project/toroidal-code/cppspec )   ;
3
+ [ ![ GitHub Action] ( https://github.com/toroidal-code/cppspec/actions/workflows/test.yml/badge.svg )] ( )   ;
5
4
[ ![ GitHub release] ( https://img.shields.io/github/release/toroidal-code/cppspec.svg )] ( https://github.com/toroidal-code/cppspec/releases/latest )   ;
6
5
[ ![ Github Releases] ( https://img.shields.io/github/downloads/toroidal-code/cppspec/latest/total.svg )] ( )   ;
7
6
[ ![ Documentation Status] ( https://readthedocs.org/projects/cppspec/badge/?version=latest )] ( http://cppspec.readthedocs.org/en/latest/?badge=latest )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments