Skip to content

Commit c94aa3a

Browse files
Add DYLD_PRINT_LIBRARIES
1 parent f56c26e commit c94aa3a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Build
22
on:
33
push:
4-
branches:
5-
- main
64
pull_request:
75
types: [opened, synchronize, reopened]
86
jobs:
@@ -26,4 +24,4 @@ jobs:
2624
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2725
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
2826
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} # SonarQube URL is stored in a GitHub secret
29-
run: sonar-scanner --define sonar.cfamily.compile-commands=build/compile_commands.json
27+
run: DYLD_PRINT_LIBRARIES=1 sonar-scanner --define sonar.cfamily.compile-commands=build/compile_commands.json

sonar-project.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ sonar.projectVersion=1.0
77

88
# SQ standard properties
99
sonar.sources=src
10+
sonar.verbose=true
11+

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using namespace std;
44

55
int main(int argc, char* argv[]) {
6+
// Comment to invalidate cache
67
int num = argc - 1;
78

89
if (num == 0) {

0 commit comments

Comments
 (0)