Skip to content

Commit 4a4b57f

Browse files
authored
ci: run aarch64 builds on arm runner (#176)
* ci: run aarch64 builds on arm runner * chore: rename variable
1 parent 39278ed commit 4a4b57f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,21 @@ jobs:
4343
build:
4444
needs:
4545
- lint
46-
runs-on: ubuntu-latest
46+
runs-on: ${{ matrix.arch.os }}
47+
name: build (${{ matrix.arch.name }})
4748

4849
strategy:
4950
fail-fast: false
5051
matrix:
5152
arch:
52-
- x86_64
53-
- aarch64
53+
- name: x86_64
54+
os: ubuntu-24.04
55+
- name: aarch64
56+
os: ubuntu-24.04-arm
5457

5558
env:
5659
# DISTRO: ${{ matrix.distro }} # build target, name required by binary-builder
57-
ARCH: ${{ matrix.arch }} # build target, name required by binary-builder
60+
ARCH: ${{ matrix.arch.name }} # build target, name required by binary-builder
5861

5962
steps:
6063
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)