Skip to content

Commit

Permalink
Grab vcpkg dependencies for the sonar build job.
Browse files Browse the repository at this point in the history
  • Loading branch information
ASxa86 committed Aug 15, 2024
1 parent 7bf3b86 commit 53aaeba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ build-android-armg64-debug:
build-gcc-debug-sonar:
image: $CI_REGISTRY/asxa86/images/ubuntu-dev:latest
stage: build
needs: []
tags:
# - saas-linux-medium-amd64
- shelley
Expand All @@ -107,6 +108,7 @@ build-gcc-debug-sonar:
- curl -sSLo ./build-wrapper-linux-x86.zip "${SONAR_HOST_URL}/static/cpp/build-wrapper-linux-x86.zip"
- unzip -oj build-wrapper-linux-x86.zip -d ./build-wrapper
# Run the build inside the build wrapper
- *get-vcpkg
- ${CMAKE_COMMAND} --preset ${CMAKE_PRESET}
- build-wrapper/build-wrapper-linux-x86-64 --out-dir bw-output ${CMAKE_COMMAND} --build --preset ${CMAKE_PRESET}
# Run the sonar-scanner in the same stage as the build
Expand Down

0 comments on commit 53aaeba

Please sign in to comment.