Fix number 2
This commit is contained in:
26
.github/workflows/cmake_windows_msys2.yml
vendored
26
.github/workflows/cmake_windows_msys2.yml
vendored
@@ -96,8 +96,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
|
|
||||||
- name: Install sonar-scanner and build-wrapper
|
# - name: Install sonar-scanner and build-wrapper
|
||||||
uses: SonarSource/sonarcloud-github-c-cpp@v3
|
# uses: SonarSource/sonarcloud-github-c-cpp@v3
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >-
|
run: >-
|
||||||
@@ -106,17 +106,19 @@ jobs:
|
|||||||
-D NEW_DYNAREC=${{ matrix.dynarec.new }}
|
-D NEW_DYNAREC=${{ matrix.dynarec.new }}
|
||||||
-D CMAKE_INSTALL_PREFIX=./build/artifacts
|
-D CMAKE_INSTALL_PREFIX=./build/artifacts
|
||||||
|
|
||||||
- name: Build
|
# - name: Build
|
||||||
run: |
|
# run: |
|
||||||
.sonar/build-wrapper-win-x86/build-wrapper-win-x86-64.exe --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build
|
# .sonar/build-wrapper-win-x86/build-wrapper-win-x86-64.exe --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build
|
||||||
|
|
||||||
- name: Run sonar-scanner
|
- name: Build
|
||||||
if: 0
|
run: cmake --build build
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# - name: Run sonar-scanner
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
# env:
|
||||||
run: |
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
.sonar/sonar-scanner-5.0.1.3006-windows/bin/sonar-scanner.bat --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
|
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
# run: |
|
||||||
|
# .sonar/sonar-scanner-5.0.1.3006-windows/bin/sonar-scanner.bat --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
|
||||||
|
|
||||||
- name: Generate package
|
- name: Generate package
|
||||||
run: cmake --install build
|
run: cmake --install build
|
||||||
|
|||||||
Reference in New Issue
Block a user