Skip to content

Commit 15cf9f5

Browse files
author
Alan Wisper
committed
chore: soften native workflow load on runner 03
Signed-off-by: Alan Wisper <wisper@elide.dev>
1 parent 912523f commit 15cf9f5

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

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

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,21 @@ on:
1818
- feat/deb-native-compile
1919
workflow_dispatch:
2020

21-
#"on":
22-
# workflow_dispatch:
23-
# inputs:
24-
# runner:
25-
# description: "Runner"
26-
# type: string
27-
# default: ubuntu-cipool
28-
29-
# workflow_call:
30-
# inputs:
31-
# runner:
32-
# description: "Runner"
33-
# type: string
34-
# default: ubuntu-cipool
21+
# исходные варианты для реюзабельного воркфлоу — пригодятся позже
22+
# on:
23+
# workflow_dispatch:
24+
# inputs:
25+
# runner:
26+
# description: "Runner"
27+
# type: string
28+
# default: ubuntu-cipool
29+
#
30+
# workflow_call:
31+
# inputs:
32+
# runner:
33+
# description: "Runner"
34+
# type: string
35+
# default: ubuntu-cipool
3536

3637
permissions:
3738
contents: read
@@ -44,18 +45,18 @@ env:
4445
jobs:
4546
gradle:
4647
name: "Native (linux-amd64, nativeCompile)"
47-
# runs-on: ${{ inputs.runner }}
4848
runs-on: ubuntu-latest
4949
timeout-minutes: 90
50+
5051
permissions:
5152
contents: write
5253
id-token: write
53-
54+
5455
env:
5556
CI: true
5657
GRADLE_OPTS: "-Dorg.gradle.workers.max=2 -Dorg.gradle.daemon=false"
5758
ORG_GRADLE_PROJECT_orgGradleParallel: "false"
58-
59+
5960
defaults:
6061
run:
6162
shell: bash
@@ -103,8 +104,6 @@ jobs:
103104
- name: "Setup: Gradle"
104105
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
105106
id: gradlebuild
106-
env:
107-
CI: true
108107
with:
109108
cache-read-only: false
110109
dependency-graph: disabled
@@ -127,19 +126,15 @@ jobs:
127126
run: file Makefile && make info CI=yes 2>&1 | tee build-info.txt
128127

129128
- name: "🛠️ Build: Native CLI (nativeCompile)"
130-
env:
131-
CI: true
132129
run: |
133130
./gradlew \
134131
:packages:cli:nativeCompile \
135132
-x check \
136133
-x test \
137134
-x jvmTest \
138-
# --scan \
139-
--build-cache \
140-
# --daemon \
141135
--no-daemon \
142136
--no-parallel \
137+
--build-cache \
143138
--dependency-verification=off \
144139
--no-configuration-cache \
145140
--stacktrace \

0 commit comments

Comments
 (0)