Skip to content

Commit

Permalink
Also test for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Sep 7, 2023
1 parent 74f03e6 commit 9febc40
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,29 @@ on:

jobs:
build:
name: build
name: build-${{ matrix.arch }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch:
- amd64
- arm64v8
steps:

- name: install-deps
run: |
sudo apt update
sudo apt install -y \
qemu-user-static
- name: checkout
uses: actions/checkout@v3

- name: build-image
run: |
podman build \
--arch ${{ matrix.arch }} \
--network host \
--pull \
--squash-all \
Expand All @@ -26,6 +39,7 @@ jobs:
- name: test-image
run: |
podman run \
--arch ${{ matrix.arch }} \
--init \
--network host \
--rm \
Expand Down

0 comments on commit 9febc40

Please sign in to comment.