Skip to content

Commit

Permalink
GitHub Actions: Modernize linux-aarch64 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Jan 24, 2025
1 parent 21327aa commit d2e82c4
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/linux-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,21 @@ name: Linux aarch64
jobs:
check:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions-rs/toolchain@v1

- name: Install Rust
uses: dtolnay/[email protected]
with:
profile: minimal
toolchain: stable
target: aarch64-unknown-linux-gnu
override: true
targets: aarch64-apple-darwin

- name: Rust cache
uses: swatinem/rust-cache@v2

- name: cargo build
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --target aarch64-unknown-linux-gnu
run:
cargo build --target aarch64-unknown-linux-gnu

0 comments on commit d2e82c4

Please sign in to comment.