mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-02-13 15:22:42 +08:00
Update main.yml
This commit is contained in:
parent
932120cb36
commit
5f2337741a
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -107,10 +107,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build on FreeBSD inside macOS VM
|
- name: Build on FreeBSD inside macOS VM
|
||||||
id: test
|
id: test
|
||||||
uses: cross-platform-actions/action@v0.21.0
|
uses: cross-platform-actions/action@v0.27.0
|
||||||
with:
|
with:
|
||||||
operating_system: freebsd
|
operating_system: freebsd
|
||||||
version: '13.1'
|
version: '13.3'
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
sudo pkg install -y zip cmake qt6-base
|
sudo pkg install -y zip cmake qt6-base
|
||||||
@ -351,18 +351,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
- name: Install sonar-scanner and build-wrapper
|
- name: Install build-wrapper
|
||||||
uses: SonarSource/sonarcloud-github-c-cpp@v2
|
uses: SonarSource/sonarcloud-github-c-cpp@v2
|
||||||
- name: Run build-wrapper
|
- name: Run build-wrapper
|
||||||
run: |
|
run: |
|
||||||
cmake -B build .
|
cmake -B build .
|
||||||
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build 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
|
- name: SonarQube Scan
|
||||||
uses: SonarSource/sonarqube-scan-action@v4.2.1
|
uses: SonarSource/sonarqube-scan-action@v4.2.1
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user