Skip to content

Add GCC 15 support, excluding CI #2127

Add GCC 15 support, excluding CI

Add GCC 15 support, excluding CI #2127

Workflow file for this run

---
name: sonarcloud
on:
push:
branches:
- master
pull_request:
permissions: {}
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
submodules: true
# Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
persist-credentials: false
- name: Setup dependencies
run: |
sudo apt-get install -y libboost-dev
- name: Produce Compilation Database
run: |
cmake . -DCMAKE_BUILD_TYPE=Release -DSTANDALONE=ON
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v6 # zizmor: ignore[unpinned-uses]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
"-Dsonar.cfamily.compile-commands=compile_commands.json"