Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy
jobs:
build:
name: SonarCloud build and run sonar-scanner
runs-on: ubuntu-24.04
runs-on: macos-15
env:
# Directory where build-wrapper output will be placed
BUILD_WRAPPER_OUT_DIR: build
Expand All @@ -22,8 +22,9 @@ jobs:
fetch-depth: 0
- name: Install Tools
run: |
sudo rm /usr/lib/python3.*/EXTERNALLY-MANAGED
sudo apt-get install lcov
# lcov is available via homebrew
brew install lcov
# To convert gcov data to cobertura/xml format for SonarCloud
pip install gcovr

- name: Check Tools
Expand All @@ -45,7 +46,7 @@ jobs:
- name: Run build-wrapper
run: |
export VCPKG_ROOT=/usr/local/share/vcpkg
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make build
build-wrapper-macosx-x86 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make build
# yamllint enable rule:line-length

- name: Run tests to generate coverage statistics
Expand Down
Loading