Skip to content

Commit

Permalink
Auto merge of #126113 - Kobzol:ci-native-arm-runner, r=
Browse files Browse the repository at this point in the history
[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
  • Loading branch information
bors committed Jun 7, 2024
2 parents b74702f + 447326f commit faab6c3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,11 @@ jobs:

- name: checkout submodules
run: src/ci/scripts/checkout-submodules.sh

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
if: runner.environment == 'github-hosted'
python-version: '3.8'

- name: install MinGW
run: src/ci/scripts/install-mingw.sh
Expand Down
26 changes: 14 additions & 12 deletions src/ci/github-actions/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runners:
<<: *base-job

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

envs:
env-x86_64-apple-tests: &env-x86_64-apple-tests
Expand Down Expand Up @@ -80,17 +80,19 @@ envs:
# These jobs automatically inherit envs.pr, to avoid repeating
# it in each job definition.
pr:
- image: mingw-check
<<: *job-linux-4c
- image: mingw-check-tidy
continue_on_error: true
<<: *job-linux-4c
- image: x86_64-gnu-llvm-17
env:
ENABLE_GCC_CODEGEN: "1"
<<: *job-linux-16c
- image: x86_64-gnu-tools
<<: *job-linux-16c
- image: aarch64-gnu
<<: *job-aarch64-linux
# - image: mingw-check
# <<: *job-linux-4c
# - image: mingw-check-tidy
# continue_on_error: true
# <<: *job-linux-4c
# - image: x86_64-gnu-llvm-17
# env:
# ENABLE_GCC_CODEGEN: "1"
# <<: *job-linux-16c
# - image: x86_64-gnu-tools
# <<: *job-linux-16c

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

0 comments on commit faab6c3

Please sign in to comment.