Skip to content

Commit 636d370

Browse files
authored
Use GitHub hosted arm Linux runner (#2444)
1 parent 5976207 commit 636d370

File tree

2 files changed

+9
-19
lines changed

2 files changed

+9
-19
lines changed

.cirrus.yml

+2-19
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ env:
44
CARGO_TERM_COLOR: always
55
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
66

7-
build_and_test: &BUILD_AND_TEST
8-
# only run tasks on pull request or github merge queue branches
7+
build_and_test:
8+
&BUILD_AND_TEST # only run tasks on pull request or github merge queue branches
99
only_if: $CIRRUS_BRANCH =~ 'gh-readonly-queue/.*' || $CIRRUS_PR != ""
1010
setup_script:
1111
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
@@ -31,20 +31,3 @@ freebsd_task:
3131
- pkg install -y bash git python
3232
- python3 -m ensurepip
3333
<<: *BUILD_AND_TEST
34-
35-
linux_aarch64_task:
36-
name: Test (arm64 Linux)
37-
arm_container:
38-
image: python:3.11
39-
cpu: 4
40-
memory: 4G
41-
env:
42-
PATH: /root/.cargo/bin:$PATH
43-
target_cache:
44-
folder: target
45-
fingerprint_script:
46-
- echo $CIRRUS_OS
47-
- cat Cargo.lock
48-
install_script:
49-
- python3 -m pip install uniffi-bindgen==0.28.0
50-
<<: *BUILD_AND_TEST

.github/workflows/test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
matrix:
4040
os:
4141
- ubuntu-latest
42+
- ubuntu-22.04-arm
4243
- macos-13
4344
- macos-14
4445
- windows-latest
@@ -57,6 +58,12 @@ jobs:
5758
# macOS M1 runner only have Python 3.11+
5859
- os: macos-14
5960
python-version: 3.9
61+
# Quansight-Labs/setup-python@v5 doesn't' support Python 3.13t
62+
- os: ubuntu-22.04-arm
63+
python-version: 3.13t
64+
# PyPy on ARM is not supported in setup-python action
65+
- os: ubuntu-22.04-arm
66+
python-version: pypy3.10
6067
runs-on: ${{ matrix.os }}
6168
env:
6269
RUST_BACKTRACE: "1"

0 commit comments

Comments
 (0)