Update main.yml

This commit is contained in:
Nikolaj Schlej 2025-02-12 10:10:31 +01:00 committed by GitHub
parent 932120cb36
commit 5f2337741a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,10 +107,10 @@ jobs:
- uses: actions/checkout@v3
- name: Build on FreeBSD inside macOS VM
id: test
uses: cross-platform-actions/action@v0.21.0
uses: cross-platform-actions/action@v0.27.0
with:
operating_system: freebsd
version: '13.1'
version: '13.3'
shell: sh
run: |
sudo pkg install -y zip cmake qt6-base
@ -351,18 +351,12 @@ jobs:
with:
distribution: 'zulu'
java-version: 17
- name: Install sonar-scanner and build-wrapper
- name: Install build-wrapper
uses: SonarSource/sonarcloud-github-c-cpp@v2
- name: Run build-wrapper
run: |
cmake -B build .
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build
#- name: Run sonar-scanner
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# run: |
# sonar-scanner --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v4.2.1
env: