Skip to content

Commit

Permalink
build: being more explicit about cmake options for ci/cd pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Feb 1, 2025
1 parent 4ef3277 commit c3b92fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
run: |
mkdir build
cd build
cmake -DBUILD_AUTOTESTS=ON -DCOVERAGE=ON -DBUILD_BENCHMARKS=OFF -DBUILD_EXAMPLES=OFF ..
make -j2
cmake -DBUILD_AUTOTESTS=ON -DCOVERAGE=ON -DBUILD_BENCHMARKS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_SANDBOX=OFF ..
make -j4
- name: check
run: |
cd build
./xautotest -v -o autotest.json
./xautotest -q -o autotest.json
- name: upload report to codecov with github action
uses: codecov/codecov-action@v4
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ coverage:
- rm -rf build
- mkdir build
- cd build
- cmake -DBUILD_AUTOTESTS=ON -DBUILD_BENCHMARKS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_SANDBOX=OFF -DCOVERAGE=ON ..
- cmake -DBUILD_AUTOTESTS=ON -DCOVERAGE=ON -DBUILD_BENCHMARKS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_SANDBOX=OFF ..
- make -j4
- ./xautotest -q -o autotest.json
- cd ..
Expand Down

0 comments on commit c3b92fa

Please sign in to comment.