Build for CodeQL without Gradle and Kotlin daemons so the analysis has the memory

This commit is contained in:
Satoshi Qazi Muhammed committed 2026-11-03 04:52:34 +04:00
1 parent 3792984abe
commit b37251e8d5
1 file changed
+5 -1
+5 -1
View File
@@ -85,7 +85,11 @@ jobs:
- name: Build for CodeQL
if: matrix.build-mode == 'manual'
run: ./gradlew assembleDebug -x test -x lint
# No Gradle or Kotlin daemon is left running: the analysis after the build needs that memory, and
# with them alive the runner ran out of it during query evaluation.
run: |
./gradlew assembleDebug -x test -x lint --no-daemon -Pkotlin.compiler.execution.strategy=in-process
free -m
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}