Skip to content

Commit 8f22a50

Browse files
committed
Use 4-core large disk runner for the alt job
1 parent 033ea63 commit 8f22a50

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

src/ci/github-actions/jobs.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ runners:
1010
free_disk: true
1111
<<: *base-job
1212

13+
- &job-linux-4c-largedisk
14+
os: ubuntu-24.04-4core-16gb
15+
<<: *base-job
16+
1317
- &job-linux-8c
1418
os: ubuntu-24.04-8core-32gb
1519
<<: *base-job
@@ -107,6 +111,15 @@ envs:
107111
pr:
108112
PR_CI_JOB: 1
109113

114+
jobs:
115+
dist-x86_64-linux: &job-dist-x86_64-linux
116+
name: dist-x86_64-linux
117+
env:
118+
CODEGEN_BACKENDS: llvm,cranelift
119+
DOCKER_SCRIPT: dist.sh
120+
<<: *job-linux-36c-codebuild
121+
122+
110123
# Jobs that run on each push to a pull request (PR)
111124
# These jobs automatically inherit envs.pr, to avoid repeating
112125
# it in each job definition.
@@ -138,11 +151,7 @@ pr:
138151
# These jobs automatically inherit envs.try, to avoid repeating
139152
# it in each job definition.
140153
try:
141-
- name: dist-x86_64-linux
142-
env:
143-
CODEGEN_BACKENDS: llvm,cranelift
144-
DOCKER_SCRIPT: dist.sh
145-
<<: *job-linux-36c-codebuild
154+
- <<: *job-dist-x86_64-linux
146155

147156
# Main CI jobs that have to be green to merge a commit into master
148157
# These jobs automatically inherit envs.auto, to avoid repeating
@@ -235,18 +244,14 @@ auto:
235244
- name: dist-x86_64-illumos
236245
<<: *job-linux-4c
237246

238-
- name: dist-x86_64-linux
239-
env:
240-
CODEGEN_BACKENDS: llvm,cranelift
241-
DOCKER_SCRIPT: dist.sh
242-
<<: *job-linux-36c-codebuild
247+
- <<: *job-dist-x86_64-linux
243248

244249
- name: dist-x86_64-linux-alt
245250
env:
246251
IMAGE: dist-x86_64-linux
247252
CODEGEN_BACKENDS: llvm,cranelift
248253
DOCKER_SCRIPT: dist-alt.sh
249-
<<: *job-linux-16c
254+
<<: *job-linux-4c-largedisk
250255

251256
- name: dist-x86_64-musl
252257
env:

0 commit comments

Comments
 (0)