Skip to content

Commit 11ce8a3

Browse files
davidmhewittbilelmoussaoui
authored andcommitted
Build multi-arch in CI
1 parent 3b814dd commit 11ce8a3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/flatpak-test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,27 @@ jobs:
1111
container:
1212
image: bilelmoussaoui/flatpak-github-actions:gnome-40
1313
options: --privileged
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
arch: [x86_64, aarch64]
1418
steps:
1519
- uses: actions/checkout@v2
20+
- name: Install QEMU deps
21+
if: ${{ matrix.arch != 'x86_64' }}
22+
run: |
23+
dnf -y install docker
24+
- name: Set up QEMU
25+
if: ${{ matrix.arch != 'x86_64' }}
26+
uses: docker/setup-qemu-action@v1
27+
with:
28+
platforms: arm64
1629
- uses: ./flatpak-builder
1730
with:
1831
bundle: org.example.MyApp.Devel.flatpak
1932
manifest-path: ./flatpak-builder/tests/test-project/org.example.MyApp.yaml
2033
cache-key: flatpak-builder-${{ github.sha }}
34+
arch: ${{ matrix.arch }}
2135
# TODO: setup a flat-manager before and use it later here
2236
#- uses: ./flat-manager
2337
# with:

0 commit comments

Comments
 (0)