Skip to content

Commit

Permalink
ci: fix sonar tools paths
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmacha committed Jun 17, 2024
1 parent e460cb9 commit 2ba320e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ jobs:
if: ${{ inputs.enable-sonar == true }}
run: |
Invoke-WebRequest https://sonarcloud.io/static/cpp/build-wrapper-win-x86.zip -OutFile build-wrapper-win-x86.zip
Expand-Archive build-wrapper-win-x86.zip
Expand-Archive build-wrapper-win-x86.zip -Destination .
Invoke-WebRequest https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.0.0.4432-windows.zip -OutFile sonar-scanner-cli-6.0.0.4432-windows.zip
Expand-Archive sonar-scanner-cli-6.0.0.4432-windows.zip
Expand-Archive sonar-scanner-cli-6.0.0.4432-windows.zip -Destination .
- name: CMake Build (Sonar Wrapper)
if: ${{ inputs.enable-sonar == true }}
run: |
Expand All @@ -121,7 +121,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
run: |
./sonar-scanner-cli-6.0.0.4432-windows/bin/sonar-scanner.bat --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
./sonar-scanner-6.0.0.4432-windows/bin/sonar-scanner.bat --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
- name: CMake Install
run: cmake --install out/build/${{ inputs.cmake-preset }} --prefix out/install/${{ inputs.cmake-preset }}
- name: Archive DLL
Expand Down

0 comments on commit 2ba320e

Please sign in to comment.