Skip to content

Commit

Permalink
chore(ci): add aarch64 linux runner
Browse files Browse the repository at this point in the history
Linux arm64 hosted runners is in public preview.
Enable and see if is is something we can have now.

https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
  • Loading branch information
weihanglo committed Jan 22, 2025
1 parent 531215f commit aa9c9d9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ jobs:
os: ubuntu-latest
rust: nightly
other: i686-unknown-linux-gnu
- name: Linux aarch64 stable
os: ubuntu-24.04-arm
rust: stable
other: x86_64-unknown-linux-gnu
- name: Linux aarch64 nightly
os: ubuntu-24.04-arm
rust: nightly
other: x86_64-unknown-linux-gnu
- name: macOS aarch64 stable
os: macos-14
rust: stable
Expand Down Expand Up @@ -167,7 +175,7 @@ jobs:
- run: rustup component add rustc-dev llvm-tools-preview rust-docs
if: startsWith(matrix.rust, 'nightly')
- run: sudo apt update -y && sudo apt install lldb gcc-multilib libsecret-1-0 libsecret-1-dev -y
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
- run: rustup component add rustfmt || echo "rustfmt not available"
- name: Configure extra test environment
run: echo CARGO_CONTAINER_TESTS=1 >> $GITHUB_ENV
Expand Down

0 comments on commit aa9c9d9

Please sign in to comment.