github: Disable SonarQube's (beta) taint analysis
This does not seem to work on these runners. Tried setting dataflowMemoryLimit, but that only seems to affect the analysis (which causes a warning: "Taint analysis was stopped early due to low memory. The analysis may not have explored the whole program.") not the post-processing that evidently causes the runner to get killed due to OOM (there is no explicit error, but in the debug log we see "The runner has received a shutdown signal", which apparently can indicate OOM issues).
This commit is contained in:
@@ -65,7 +65,8 @@ jobs:
|
||||
args: >
|
||||
-Dsonar.projectKey=${{ secrets.SONAR_PROJECT }}
|
||||
-Dsonar.organization=${{ secrets.SONAR_ORGANIZATION }}
|
||||
-Dsonar.cfamily.threads=2
|
||||
-Dsonar.cfamily.threads=4
|
||||
-Dsonar.cfamily.taintAnalysis=false
|
||||
-Dsonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json
|
||||
- run: ccache -sv
|
||||
- if: github.event_name == 'push'
|
||||
|
||||
Reference in New Issue
Block a user