Skip to content

Commit

Permalink
Set compiler explicitly and upload to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
H0R5E committed Nov 15, 2024
1 parent 3f94702 commit 72ceaa4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Install package dependencies
run: poetry run conan install . --profile:all=./.conan2/profiles/${{ runner.os }} --output-folder=build --build=missing --lockfile-partial --settings=build_type=Debug
- name: Configure
run: cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug -DGCOVR_XML=ON
run: cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug -DGCOVR_XML=ON
working-directory: build
- name: Xvfb
run: |
Expand All @@ -87,3 +87,6 @@ jobs:
- name: Build XML report
run: cmake --build . --config Debug -t coverage-xml
working-directory: build
- uses: codecov/codecov-action@v4
with:
directory: build

0 comments on commit 72ceaa4

Please sign in to comment.