mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-11-03 17:31:13 +00:00
Build for CodeQL without Gradle and Kotlin daemons so the analysis has the memory
This commit is contained in:
1 parent
3792984abe
commit
b37251e8d5
1 file changed
+5
-1
@@ -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 }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user