Skip to content

Commit faab6c3

Browse files
committed
Auto merge of #126113 - Kobzol:ci-native-arm-runner, r=
[WIP] CI: use a native `arm64` runner Opening as a draft to test if we can use a native GitHub ARM runner instead of the self-hosted one. try-job: aarch64-gnu
2 parents b74702f + 447326f commit faab6c3

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.github/workflows/ci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,11 @@ jobs:
156156

157157
- name: checkout submodules
158158
run: src/ci/scripts/checkout-submodules.sh
159-
159+
160160
- name: Setup Python
161161
uses: actions/setup-python@v5
162162
with:
163-
python-version: '3.x'
164-
if: runner.environment == 'github-hosted'
163+
python-version: '3.8'
165164

166165
- name: install MinGW
167166
run: src/ci/scripts/install-mingw.sh

src/ci/github-actions/jobs.yml

+14-12
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runners:
3333
<<: *base-job
3434

3535
- &job-aarch64-linux
36-
os: [ self-hosted, ARM64, linux ]
36+
os: ubuntu-22.04-arm64-8core-32gb
3737

3838
envs:
3939
env-x86_64-apple-tests: &env-x86_64-apple-tests
@@ -80,17 +80,19 @@ envs:
8080
# These jobs automatically inherit envs.pr, to avoid repeating
8181
# it in each job definition.
8282
pr:
83-
- image: mingw-check
84-
<<: *job-linux-4c
85-
- image: mingw-check-tidy
86-
continue_on_error: true
87-
<<: *job-linux-4c
88-
- image: x86_64-gnu-llvm-17
89-
env:
90-
ENABLE_GCC_CODEGEN: "1"
91-
<<: *job-linux-16c
92-
- image: x86_64-gnu-tools
93-
<<: *job-linux-16c
83+
- image: aarch64-gnu
84+
<<: *job-aarch64-linux
85+
# - image: mingw-check
86+
# <<: *job-linux-4c
87+
# - image: mingw-check-tidy
88+
# continue_on_error: true
89+
# <<: *job-linux-4c
90+
# - image: x86_64-gnu-llvm-17
91+
# env:
92+
# ENABLE_GCC_CODEGEN: "1"
93+
# <<: *job-linux-16c
94+
# - image: x86_64-gnu-tools
95+
# <<: *job-linux-16c
9496

9597
# Jobs that run when you perform a try build (@bors try)
9698
# These jobs automatically inherit envs.try, to avoid repeating

0 commit comments

Comments
 (0)