Skip to content

Commit a657022

Browse files
committed
ci: build aarch64 flatpak images
1 parent 14a67e0 commit a657022

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/flatpak.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,30 @@ jobs:
77
runs-on: ubuntu-latest
88

99
container:
10-
image: bilelmoussaoui/flatpak-github-actions:gnome-40
10+
image: bilelmoussaoui/flatpak-github-actions:gnome-41
1111
options: --privileged
1212

13+
strategy:
14+
matrix:
15+
arch: [x86_64, aarch64]
16+
# Don't fail the whole workflow if one architecture fails
17+
fail-fast: false
1318
steps:
1419
- uses: actions/checkout@v2
1520

21+
- name: Set up QEMU
22+
id: qemu
23+
uses: docker/setup-qemu-action@v1
24+
with:
25+
platforms: arm64
26+
27+
- name: Install deps
28+
run: |
29+
dnf -y install docker
30+
1631
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
1732
with:
1833
bundle: Cozy.flatpak
1934
manifest-path: com.github.geigi.cozy.json
2035
cache-key: "flatpak-builder-${{ github.sha }}"
36+
arch: ${{ matrix.arch }}

0 commit comments

Comments
 (0)