Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
woodfell committed Nov 14, 2023
1 parent 179006e commit e2011ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ jobs:
codecov:
name: C Code Coverage
runs-on: ubuntu-22.04
env:
BUILD_WRAPPER_OUT_DIR: bw-output
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -218,7 +216,7 @@ jobs:
CXX: clang++
run: |
cmake -S c -B build -DCODE_COVERAGE=ON -DCMAKE_C_FLAGS=--coverage -DCMAKE_CXX_FLAGS=--coverage &&
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build -j8 --target ccov-all-export
build-wrapper-linux-x86-64 --out-dir ./bw-output cmake --build build -j8 --target ccov-all-export
- name: Run sonar-scanner
uses: sonarsource/sonarcloud-github-action@master
env:
Expand All @@ -233,3 +231,4 @@ jobs:
-Dsonar.login=${{ secrets.SONAR_TOKEN_C }}
-Dsonar.cfamily.threads=4
-Dsonar.cfamily.llvm-cov.reportPath=./build/ccov/coverage.txt
-Dsonar.cfamily.build-wrapper-output=./bw-output

0 comments on commit e2011ed

Please sign in to comment.