Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub hosted arm Linux runner #2444

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 2 additions & 19 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

build_and_test: &BUILD_AND_TEST
# only run tasks on pull request or github merge queue branches
build_and_test:
&BUILD_AND_TEST # only run tasks on pull request or github merge queue branches
only_if: $CIRRUS_BRANCH =~ 'gh-readonly-queue/.*' || $CIRRUS_PR != ""
setup_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
Expand All @@ -31,20 +31,3 @@ freebsd_task:
- pkg install -y bash git python
- python3 -m ensurepip
<<: *BUILD_AND_TEST

linux_aarch64_task:
name: Test (arm64 Linux)
arm_container:
image: python:3.11
cpu: 4
memory: 4G
env:
PATH: /root/.cargo/bin:$PATH
target_cache:
folder: target
fingerprint_script:
- echo $CIRRUS_OS
- cat Cargo.lock
install_script:
- python3 -m pip install uniffi-bindgen==0.28.0
<<: *BUILD_AND_TEST
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-22.04-arm
- macos-13
- macos-14
- windows-latest
Expand All @@ -57,6 +58,12 @@ jobs:
# macOS M1 runner only have Python 3.11+
- os: macos-14
python-version: 3.9
# Quansight-Labs/setup-python@v5 doesn't' support Python 3.13t
- os: ubuntu-22.04-arm
python-version: 3.13t
# PyPy on ARM is not supported in setup-python action
- os: ubuntu-22.04-arm
python-version: pypy3.10
runs-on: ${{ matrix.os }}
env:
RUST_BACKTRACE: "1"
Expand Down
Loading