Skip to content

Commit 76dc1f5

Browse files
committed
build: remove cmake dependency file
Remove the auto-generated CMake dependency file from version control. This file contains machine-specific paths and is regenerated during each build, making it unsuitable for tracking in the repository.
1 parent 93f9bf7 commit 76dc1f5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
mkdir -p "$HOME/.sonar"
4848
curl -sSLo "$HOME/.sonar/sonar-scanner.zip" "${{ env.SONAR_SCANNER_DOWNLOAD_URL }}"
4949
unzip -o "$HOME/.sonar/sonar-scanner.zip" -d "$HOME/.sonar/"
50+
sed -i 's/use_embedded_jre=true/use_embedded_jre=false/' "$HOME/.sonar/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin/sonar-scanner"
5051
echo "$HOME/.sonar/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin" >> "$GITHUB_PATH"
5152
5253
- name: Download and set up build-wrapper

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sonar.sourceEncoding=UTF-8
3232
sonar.language=c++
3333

3434
# Use this if you have a specific build tool (optional)
35-
sonar.cfamily.build-wrapper-output=build/build_wrapper_directory
35+
sonar.cfamily.build-wrapper-output=build_wrapper_output_directory
3636

3737
# If you're using GCC or Clang, provide the path to the compilation database (optional)
3838
# sonar.cfamily.compile-commands=compile_commands.json

0 commit comments

Comments
 (0)