File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ master, cmake ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ include :
15+ - os : ubuntu-latest
16+ name : Linux (GCC)
17+ cmake_generator : " Unix Makefiles"
18+ - os : macos-latest
19+ name : macOS (Clang)
20+ cmake_generator : " Unix Makefiles"
21+ - os : windows-latest
22+ name : Windows (MSVC)
23+ cmake_generator : " Visual Studio 17 2022"
24+
25+ name : ${{ matrix.name }}
26+ runs-on : ${{ matrix.os }}
27+
28+ steps :
29+ - name : Checkout
30+ uses : actions/checkout@v4
31+
32+ - name : Configure CMake
33+ run : cmake -B build -G "${{ matrix.cmake_generator }}"
34+
35+ - name : Build
36+ run : cmake --build build --config Release
37+
38+ - name : Run Tests
39+ run : ctest --test-dir build -C Release --output-on-failure
You can’t perform that action at this time.
0 commit comments