Skip to content

Commit

Permalink
Remove debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro-alvarez-sonarsource committed Apr 23, 2024
1 parent 4a337c9 commit 0ec4f3f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,10 @@ jobs:
mkdir ci-build
cmake -S . -B ci-build
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build ci-build/ --config Release
- name: Upload wrapper output
uses: actions/upload-artifact@v4
with:
name: build-wrapper-output
path: ${{ env.BUILD_WRAPPER_OUT_DIR }}/build-wrapper-dump.json
- name: Run sonar-scanner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Put the name of your token here
run: |
# We need to specify the unity source files
sonar-scanner -X --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" --define sonar.sources="src,ci-build/CMakeFiles/UnityBuild.dir/Unity/"
sonar-scanner --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" --define sonar.sources="src,ci-build/CMakeFiles/UnityBuild.dir/Unity/"

0 comments on commit 0ec4f3f

Please sign in to comment.