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 : Build
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ paths :
7+ - ' src/**'
8+ - ' tests/**'
9+ - ' .github/**'
10+ - ' CMakeLists.txt'
11+ pull_request :
12+ branches : [ master ]
13+ paths :
14+ - ' src/**'
15+ - ' tests/**'
16+ - ' .github/**'
17+ - ' CMakeLists.txt'
18+
19+ jobs :
20+ build :
21+ runs-on : macos-12
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v4
25+ with :
26+ submodules : ' recursive'
27+
28+ - name : Install dependencies
29+ run : |
30+ brew install cmake ninja
31+
32+ - name : Create build directory
33+ run : mkdir build
34+
35+ - name : Configure CMake
36+ run : cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=$(brew --prefix)/bin/ninja -G Ninja -S . -B build
37+
38+ - name : Link
39+ run : ninja
40+ working-directory : build
Original file line number Diff line number Diff line change 66# Build files
77/cmake-build-debug
88/example /cmake-build-debug
9+
10+
11+ /build
You can’t perform that action at this time.
0 commit comments