File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
22on :
33 push :
4- branches : [main, "copilot/**"]
4+ branches : [main, develop, "copilot/**"]
55 pull_request :
6- branches : [main]
6+ branches : [main, develop, "copilot/**" ]
77
88jobs :
99 build-and-test :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v4
1313
14- - name : Install tools
14+ - name : Install system dependencies
1515 run : |
16- sudo apt-get update && sudo apt-get install -y \
17- cmake ninja-build clang clang-format clang-tidy
16+ sudo apt-get update -q
17+ sudo apt-get install -y \
18+ ninja-build clang clang-format clang-tidy
19+
20+ - name : Install CMake 4.x
21+ run : pip install "cmake>=4,<5" --quiet
1822
1923 - name : Configure
2024 run : |
21- cmake -B build -G Ninja \
25+ cmake -S . - B build -G Ninja \
2226 -DCMAKE_BUILD_TYPE=Debug \
27+ -DCYMON_BUILD_TESTS=ON \
2328 -DCMAKE_CXX_COMPILER=clang++ \
2429 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
2530
You can’t perform that action at this time.
0 commit comments