Skip to content

Commit 1143153

Browse files
author
Alan Wisper
committed
chore: soften native workflow load on runner
Signed-off-by: Alan Wisper <[email protected]>
1 parent eaf3c0b commit 1143153

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/job.native-compile-image.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,16 @@ jobs:
4646
name: "Native (linux-amd64, nativeCompile)"
4747
# runs-on: ${{ inputs.runner }}
4848
runs-on: ubuntu-latest
49+
timeout-minutes: 90
4950
permissions:
5051
contents: write
5152
id-token: write
52-
53+
54+
env:
55+
CI: true
56+
GRADLE_OPTS: "-Dorg.gradle.workers.max=2 -Dorg.gradle.daemon=false"
57+
ORG_GRADLE_PROJECT_orgGradleParallel=false
58+
5359
defaults:
5460
run:
5561
shell: bash
@@ -103,7 +109,8 @@ jobs:
103109
cache-read-only: false
104110
dependency-graph: disabled
105111
gradle-home-cache-cleanup: true
106-
gradle-home-cache-includes: binaryen
112+
gradle-home-cache-includes: |
113+
binaryen
107114
caches
108115
jdks
109116
native
@@ -128,9 +135,11 @@ jobs:
128135
-x check \
129136
-x test \
130137
-x jvmTest \
131-
--scan \
138+
# --scan \
132139
--build-cache \
133-
--daemon \
140+
# --daemon \
141+
--no-daemon \
142+
--no-parallel \
134143
--dependency-verification=off \
135144
--no-configuration-cache \
136145
--stacktrace \

0 commit comments

Comments
 (0)