Skip to content

Commit 771bcad

Browse files
committed
Build on arm64
1 parent 704a5dc commit 771bcad

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,33 @@ on:
1111
env:
1212
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313

14+
config:
15+
- runner: ubuntu-20.04
16+
image: ubuntu:20.04
17+
- runner: ubuntu-22.04-arm
18+
image: ubuntu:22.04
19+
20+
1421
jobs:
1522
build:
16-
runs-on: ubuntu-20.04
23+
runs-on: ${{ matrix.config.runner }}
24+
strategy:
25+
matrix:
26+
config:
27+
- runner: ubuntu-20.04
28+
image: ubuntu:20.04
29+
- runner: ubuntu-22.04-arm
30+
image: ubuntu:22.04
1731
container:
18-
image: ubuntu:20.04
32+
image: ${{ matrix.config.image }}
1933
options: --privileged
2034
steps:
2135
- name: Checkout code
2236
uses: actions/checkout@v4
2337

38+
- name: Print configuration
39+
run: echo "Running build on ${{ matrix.config }}"
40+
2441
- name: Install dependencies
2542
run: |
2643
apt-get update

0 commit comments

Comments
 (0)