Skip to content

Commit a6e7e1d

Browse files
committed
Build on arm64
1 parent 704a5dc commit a6e7e1d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,24 @@ env:
1313

1414
jobs:
1515
build:
16-
runs-on: ubuntu-20.04
16+
runs-on: ${{ matrix.config.runner }}
17+
strategy:
18+
matrix:
19+
config:
20+
- runner: ubuntu-20.04
21+
image: ubuntu:20.04
22+
- runner: ubuntu-22.04-arm
23+
image: ubuntu:22.04
1724
container:
18-
image: ubuntu:20.04
25+
image: ${{ matrix.config.image }}
1926
options: --privileged
2027
steps:
2128
- name: Checkout code
2229
uses: actions/checkout@v4
2330

31+
- name: Print configuration
32+
run: echo "Running build on ${{ matrix.config }}"
33+
2434
- name: Install dependencies
2535
run: |
2636
apt-get update

0 commit comments

Comments
 (0)