File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ "**" ]
6+ pull_request :
7+ branches : [ "**" ]
8+
9+ jobs :
10+ build-and-test :
11+ name : ${{ matrix.os }} / ${{ matrix.build_type }}
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os : [ubuntu-latest, macos-latest]
17+ build_type : [Release]
18+
19+ steps :
20+ - uses : actions/checkout@v6
21+
22+ - name : Configure CMake
23+ run : |
24+ cmake -B build \
25+ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
26+ -DSYMX_ENABLE_DIAGNOSTIC_TESTS=OFF
27+
28+ - name : Build tests
29+ run : cmake --build build --target tests --parallel $(nproc 2>/dev/null || sysctl -n hw.logicalcpu)
30+
31+ - name : Run tests
32+ working-directory : build
33+ run : ctest --output-on-failure --build-config ${{ matrix.build_type }}
You can’t perform that action at this time.
0 commit comments