Skip to content

Bump pypa/cibuildwheel from 4.2.0 to 4.2.1 #2015

Bump pypa/cibuildwheel from 4.2.0 to 4.2.1

Bump pypa/cibuildwheel from 4.2.0 to 4.2.1 #2015

Workflow file for this run

name: SonarCloud
on:
pull_request:
branches:
- main
merge_group:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-26.04
if: github.event_name == 'merge_group' || github.event.pull_request.head.repo.full_name == github.repository
env:
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libopenblas-dev liblapack-dev ninja-build
- name: Install Build Wrapper
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
- name: Run Build Wrapper
run: |
mkdir build
cmake -S ./cpp -B build
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config Release
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
--define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json