Skip to content

Commit 2f7ffe2

Browse files
committed
Auto merge of #159628 - Mark-Simulacrum:ci-experiments, r=<try>
CI experiments try-job: dist-aarch64-linux*
2 parents 9085017 + ea3655d commit 2f7ffe2

2 files changed

Lines changed: 50 additions & 24 deletions

File tree

rust-bors.toml

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -87,31 +87,28 @@ images = {
8787
"arm64ami" = "latest-gha-runner-ami-arm64",
8888
}
8989
jit_runner = "organization"
90+
# Prices per hour of on-demand compute in us-east-2 (as of Aug 2026)
91+
# See build speed estimates in https://github.com/rust-lang/simpleinfra/issues/1132
9092
allowed_instances = [
91-
# AMD Zen 5 (x86_64) instances, a subset of these is used in production.
92-
# Prices per hour of on-demand compute in us-east-2 (as of Aug 2026)
93-
# See rough assessment of build speed for dist-x86_64-quick in https://github.com/rust-lang/simpleinfra/issues/1132
94-
# m8a.2x 8 vCPU, 32 GB $0.48688/hr
95-
# c8a.4x 16 vCPU, 32 GB $0.86216/hr
96-
# c8a.8x 32 vCPU, 64 GB $1.72432/hr
97-
# c8a.12x 48 vCPU, 96 GB $2.58648/hr
98-
# CodeBuild 36 vCPU $4.78799/hr
99-
"m8a.2xlarge",
100-
"c8a.4xlarge",
101-
"c8a.8xlarge",
102-
"c8a.12xlarge",
93+
# AMD Zen 5 (x86_64)
94+
"m8a.2xlarge", # $0.48688/hr
95+
"c8a.4xlarge", # $0.86216/hr
96+
"c8a.8xlarge", # $1.72432/hr
97+
"c8a.12xlarge", # $2.58648/hr
10398

104-
# Graviton 4 (aarch64) instances, currently just for experimentation
105-
"m8g.2xlarge",
106-
"c8g.4xlarge",
107-
"c8g.8xlarge",
108-
"c8g.12xlarge",
99+
# Graviton (aarch64)
100+
"c6g.8xlarge", # $1.088/hr
101+
"c7g.8xlarge", # $1.1562/hr
109102

110-
# Graviton 5 (aarch64) instances, currently just for experimentation
111-
"m9g.2xlarge",
112-
"c9g.4xlarge",
113-
"c9g.8xlarge",
114-
"c9g.12xlarge",
103+
"m8g.2xlarge", # $0.35904/hr
104+
"c8g.4xlarge", # $0.63584/hr
105+
"c8g.8xlarge", # $1.27168/hr
106+
"c8g.12xlarge", # $1.90752/hr
107+
108+
"m9g.2xlarge", # $0.39136/hr
109+
"c9g.4xlarge", # $0.69312/hr
110+
"c9g.8xlarge", # $1.38624/hr
111+
"c9g.12xlarge", # $2.07936/hr
115112
]
116113

117114
# Enable unrolling of rollup member PRs after rollup merge

src/ci/github-actions/jobs.yml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ runners:
6161
os: ec2-x86_64ami-m8a.2xlarge-x64-linux-$github.run_id-$github.run_attempt
6262
<<: *base-job
6363

64+
- &job-linux-aarch64-32c-ec2-9g
65+
os: ec2-arm64ami-c9g.8xlarge-aarch64-linux-$github.run_id-$github.run_attempt
66+
<<: *base-job
67+
68+
- &job-linux-aarch64-32c-ec2-8g
69+
os: ec2-arm64ami-c8g.8xlarge-aarch64-linux-$github.run_id-$github.run_attempt
70+
<<: *base-job
71+
6472
envs:
6573
production:
6674
&production
@@ -218,10 +226,31 @@ auto:
218226
- name: armhf-gnu
219227
<<: *job-linux-4c
220228

221-
- name: dist-aarch64-linux
229+
- name: dist-aarch64-linux-9g
222230
env:
231+
IMAGE: dist-aarch64-linux
223232
CODEGEN_BACKENDS: llvm,cranelift
224-
<<: *job-aarch64-linux-8c
233+
<<: *job-linux-aarch64-32c-ec2-9g
234+
235+
- name: dist-aarch64-linux-9g-quick
236+
env:
237+
IMAGE: dist-aarch64-linux
238+
CODEGEN_BACKENDS: llvm,cranelift
239+
DIST_TRY_BUILD: 1
240+
<<: *job-linux-aarch64-32c-ec2-9g
241+
242+
- name: dist-aarch64-linux-8g
243+
env:
244+
IMAGE: dist-aarch64-linux
245+
CODEGEN_BACKENDS: llvm,cranelift
246+
<<: *job-linux-aarch64-32c-ec2-8g
247+
248+
- name: dist-aarch64-linux-8g-quick
249+
env:
250+
IMAGE: dist-aarch64-linux
251+
CODEGEN_BACKENDS: llvm,cranelift
252+
DIST_TRY_BUILD: 1
253+
<<: *job-linux-aarch64-32c-ec2-8g
225254

226255
- name: dist-android
227256
<<: *job-linux-4c

0 commit comments

Comments
 (0)