File tree Expand file tree Collapse file tree 4 files changed +90
-2
lines changed
Expand file tree Collapse file tree 4 files changed +90
-2
lines changed Original file line number Diff line number Diff line change 1+ name : CMake-Tests
2+
3+ on : push
4+
5+ jobs :
6+ windows-msvc :
7+ name : " Windows MSVC"
8+ runs-on : windows-latest
9+
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v2
13+
14+ - name : Install Tools Ninja and mvsc
15+ uses : ilammy/msvc-dev-cmd@v1
16+ - uses : seanmiddleditch/gha-setup-ninja@master
17+
18+ - name : Config
19+ run : cmake -S . --preset Windows-MSVC
20+
21+ - name : Build
22+ run : |
23+ cmake --build --preset Windows-MSVC-Debug
24+ cmake --build --preset Windows-MSVC-Release
25+
26+ - name : Test
27+ run : |
28+ ctest --preset Test-Windows-MSVC-Debug
29+ ctest --preset Test-Windows-MSVC-Release
30+
31+
32+ Linux-Clang :
33+ name : " Linux-Clang"
34+ runs-on : ubuntu-latest
35+
36+ steps :
37+ - name : Checkout
38+ uses : actions/checkout@v2
39+
40+ - name : Install Ninja
41+ uses : seanmiddleditch/gha-setup-ninja@master
42+
43+ - name : Install clang 12
44+ run : |
45+ sudo apt-get update
46+ sudo apt-get install clang-12 llvm-12
47+
48+ - name : Config
49+ run : |
50+ cmake -S . --preset Linux-Clang
51+
52+ - name : Build
53+ run : |
54+ cmake --build --preset Linux-Clang-Debug
55+ cmake --build --preset Linux-Clang-Release
56+
57+ - name : Test
58+ run : |
59+ ctest --preset Test-Linux-Clang-Debug
60+ ctest --preset Test-Linux-Clang-Release
Original file line number Diff line number Diff line change 1- name : Test Runner
1+ name : Qbs-Tests
22
33on : push
44
Original file line number Diff line number Diff line change 1+ name : Static Analyse
2+
3+ on : push
4+
5+ jobs :
6+ Clang-Static-Analyse :
7+ name : " Linux-Clang-Static-Analyse"
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v2
13+
14+ - name : Install Ninja
15+ uses : seanmiddleditch/gha-setup-ninja@master
16+
17+ - name : Install clang 12
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install clang-12 llvm-12
21+
22+ - name : Config
23+ run : |
24+ cmake -S . --preset Clang-Static-Analyser
25+
26+ - name : Build
27+ run : |
28+ cmake --build --preset Clang-Static-Analyser
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Project {
6161 " .clang-format" ,
6262 " .clang-tidy" ,
6363 " .editorconfig" ,
64- " .github/workflows/test_runner .yml" ,
64+ " .github/workflows/qbs_tests .yml" ,
6565 " .gitignore" ,
6666 " Readme.md" ,
6767 " helpers/array19.natvis" ,
You can’t perform that action at this time.
0 commit comments