Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
woodfell committed Nov 13, 2023
1 parent 7adc9ee commit ca323af
Show file tree
Hide file tree
Showing 4 changed files with 76,861 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,33 @@ jobs:
cmake -S c/test_package -B c/test_package/build -DCMAKE_PREFIX_PATH="$PWD/install"
cmake --build c/test_package/build
codecov:
runs-on: ubuntu-22.04
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
ssh-key: ${{ secrets.SSH_KEY }}
- name: Install llvm-cov
run: |
sudo apt-get update && sudo apt-get install llvm gcovr -y
- name: Run build
env:
CC: clang
CXX: clang++
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_ORGANIZATION: swift-nav
SONAR_PROJECT_KEY: swift-nav_libsbp-c
SONAR_PROJECT_NAME: libsbp-c
SONAR_HOST_URL: https://sonarcloud.io
SONAR_SCANNER_VERSION: 5.0.1.3006
run: |
bash ./scripts/ci_c_codecov.sh
macos:
name: macOS
runs-on: macos-11
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ jobs:
-Dsonar.sources=.
-Dsonar.exclusions=java/**
-Dsonar.verbose=true
-Dsonar.c.file.suffixes=- -Dsonar.cpp.file.suffixes=-
-Dsonar.coverageReportPaths=build/code_coverage.xml
Loading

0 comments on commit ca323af

Please sign in to comment.