Skip to content

Commit dd4fedc

Browse files
committed
ci: use linux aarch64 runners
GitHub has linux aarch64 runners, so use them instead of relying on cross compiling. Signed-off-by: Sergio Lopez <[email protected]>
1 parent 86ef184 commit dd4fedc

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/code_quality-aarch64.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
1-
name: Code Quality (rustfmt and clippy)
1+
name: linux-aarch64 tests
22
on: [pull_request, create]
33

44
jobs:
55
build:
66
if: github.event_name == 'pull_request'
7-
name: Code Quality (clippy, rustfmt)
8-
runs-on: ubuntu-latest
9-
strategy:
10-
matrix:
11-
rust:
12-
- stable
13-
target:
14-
- aarch64-unknown-linux-gnu
7+
name: Code Quality (fmt, clippy)
8+
runs-on: ubuntu-24.04-arm
159
steps:
1610
- name: Code checkout
1711
uses: actions/checkout@v2
18-
- name: Install Rust toolchain (${{ matrix.rust }})
12+
- name: Install Rust toolchain
1913
uses: actions-rs/toolchain@v1
2014
with:
21-
toolchain: ${{ matrix.rust }}
22-
target: ${{ matrix.target }}
23-
override: true
15+
toolchain: stable
2416
components: rustfmt, clippy
2517

2618
- name: Install packages

0 commit comments

Comments
 (0)