File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,13 +3,8 @@ name: macOS
33on : [push, pull_request]
44
55jobs :
6- build :
7- # The CMake configure and build commands are platform agnostic and should work equally
8- # well on Windows or Mac. You can convert this to a matrix build if you need
9- # cross-platform coverage.
10- # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
6+ debug-test :
117 runs-on : macos-latest
12-
138 steps :
149 - uses : actions/checkout@v2
1510 - name : cmake
1813 run : cmake --build build --parallel 10
1914 - name : test
2015 run : cd build ; ctest -j 10 --output-on-failure
16+
17+ release-test :
18+ runs-on : macos-latest
19+ steps :
20+ - uses : actions/checkout@v2
21+ - name : cmake
22+ run : cmake -S . -B build -D CMAKE_BUILD_TYPE=Release
23+ - name : build
24+ run : cmake --build build --parallel 10
25+ - name : test
26+ run : cd build ; ctest -j 10 --output-on-failure
27+
28+ leak-test :
29+ runs-on : macos-latest
30+ steps :
31+ - uses : actions/checkout@v2
32+ - name : cmake
33+ run : cmake -S . -B build -DCMAKE_CXX_FLAGS="-fsanitize=address -fsanitize=leak"
34+ - name : build
35+ run : cmake --build build --parallel 10
36+ - name : test
37+ run : cd build ; ctest -j 10 --output-on-failure
38+
39+ tsan-test :
40+ runs-on : macos-latest
41+ steps :
42+ - uses : actions/checkout@v2
43+ - name : cmake
44+ run : cmake -S . -B build -DCMAKE_CXX_FLAGS="-fsanitize=thread"
45+ - name : build
46+ run : cmake --build build --parallel 10
47+ - name : test
48+ run : cd build ; ctest -j 10 --output-on-failure
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ on: [push, pull_request]
55jobs :
66 debug-test :
77 runs-on : ubuntu-latest
8-
98 steps :
109 - uses : actions/checkout@v2
1110 - name : cmake
@@ -15,13 +14,34 @@ jobs:
1514 - name : test
1615 run : cd build ; ctest -j 10 --output-on-failure
1716
17+ release-test :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v2
21+ - name : cmake
22+ run : cmake -S . -B build -D CMAKE_BUILD_TYPE=Release
23+ - name : build
24+ run : cmake --build build --parallel 10
25+ - name : test
26+ run : cd build ; ctest -j 10 --output-on-failure
27+
1828 leak-test :
1929 runs-on : ubuntu-latest
20-
2130 steps :
2231 - uses : actions/checkout@v2
2332 - name : cmake
24- run : cmake -S . -B build -DCMAKE_CXX_FLAGS="-fsanitize=address -fsanitize=leak -g"
33+ run : cmake -S . -B build -DCMAKE_CXX_FLAGS="-fsanitize=address -fsanitize=leak"
34+ - name : build
35+ run : cmake --build build --parallel 10
36+ - name : test
37+ run : cd build ; ctest -j 10 --output-on-failure
38+
39+ tsan-test :
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@v2
43+ - name : cmake
44+ run : cmake -S . -B build -DCMAKE_CXX_FLAGS="-fsanitize=thread"
2545 - name : build
2646 run : cmake --build build --parallel 10
2747 - name : test
You can’t perform that action at this time.
0 commit comments