Bump thirdparty/rapidjson from 973dc9c
to f9d5341
(#161)
#173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sonarcloud Analysis | |
on: | |
schedule: | |
- cron: '21 9 * * 4' | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
jobs: | |
sonarcloud: | |
runs-on: ubuntu-latest | |
container: egecetinn/ubuntu2204 | |
env: | |
BUILD_WRAPPER_OUT_DIR: build/sonar | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Prepare | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Install sonar-scanner and build-wrapper | |
uses: SonarSource/sonarcloud-github-c-cpp@v1 | |
- name: Configure | |
run: cmake -DCMAKE_BUILD_TYPE=Release -S . -B build -DXXX_ENABLE_ASAN=OFF -DXXX_ENABLE_USAN=OFF | |
- name: Run build-wrapper | |
run: build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config Release --parallel | |
- name: Run sonar-scanner | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: sonar-scanner --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" |