Skip to content

Bump thirdparty/cppzmq from c94c207 to 945d60c (#155) #151

Bump thirdparty/cppzmq from c94c207 to 945d60c (#155)

Bump thirdparty/cppzmq from c94c207 to 945d60c (#155) #151

Workflow file for this run

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 }}"