Add GCC 15 support, excluding CI #2127
Workflow file for this run
This file contains hidden or 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 | |
| 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" |