Skip to content

Add a CMake test for 32-bit build on x86_64 to guard DeepState build #1356

Add a CMake test for 32-bit build on x86_64 to guard DeepState build

Add a CMake test for 32-bit build on x86_64 to guard DeepState build #1356

Workflow file for this run

---
name: sonarcloud
on: [push]
permissions: { }
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
# Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
- name: Setup dependencies
run: |
sudo add-apt-repository -y 'ppa:mhier/libboost-latest'
sudo apt-get install -y boost1.74
- name: Setup sonar-scanner
uses: sonarsource/sonarcloud-github-c-cpp@v2
- name: Produce Compilation Database
shell: bash
run: |
cmake . -DCMAKE_BUILD_TYPE=Debug
- name: SonarCloud Scan
env:
# Needed to get PR information, if any
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
sonar-scanner --define \
sonar.cfamily.compile-commands=compile_commands.json