Skip to content

Commit a08fee4

Browse files
committed
TEMP: Use public Win Arm64 runners
1 parent 44eeef5 commit a08fee4

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ jobs:
137137
- name: show the current environment
138138
run: src/ci/scripts/dump-environment.sh
139139

140+
- name: install rust
141+
run: src/ci/scripts/install-rust.sh
142+
140143
- name: install awscli
141144
run: src/ci/scripts/install-awscli.sh
142145

src/ci/github-actions/jobs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ runners:
4848
<<: *base-job
4949

5050
- &job-windows-aarch64
51-
os: windows-11-arm64-8core-32gb
51+
os: windows-11-arm
5252
<<: *base-job
5353

5454
- &job-aarch64-linux

src/ci/scripts/install-rust.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
# For mingw builds use a vendored mingw.
3+
4+
set -euo pipefail
5+
IFS=$'\n\t'
6+
7+
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
8+
9+
if isWindows; then
10+
case "${CI_JOB_NAME}" in
11+
*aarch64*)
12+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -q --default-host aarch64-pc-windows-msvc
13+
;;
14+
esac
15+
fi

0 commit comments

Comments
 (0)