Skip to content

Commit 70b0abf

Browse files
committed
feat: use arm64 images for flatpak aarch64 build
1 parent fb319be commit 70b0abf

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/flatpak.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ on:
1111
jobs:
1212
flatpak:
1313
name: Flatpak build (${{ matrix.config.arch }})
14-
runs-on: ubuntu-24.04
14+
runs-on: ubuntu-${{ matrix.config.os-version }}
1515
strategy:
1616
matrix:
1717
config:
1818
- arch: x86_64
19-
use_qemu: false
19+
os-version: 24.04
2020

2121
- arch: aarch64
22-
use_qemu: true
23-
qemu_arch: arm64
22+
os-version: 24.04-arm
2423
# Don't fail the whole workflow if one architecture fails
2524
fail-fast: false
2625
container:
@@ -29,18 +28,6 @@ jobs:
2928
steps:
3029
- uses: actions/checkout@v4
3130

32-
- name: Install deps
33-
if: ${{ matrix.config.use_qemu == true }}
34-
run: |
35-
dnf -y install docker
36-
37-
- name: Set up QEMU
38-
if: ${{ matrix.config.use_qemu == true }}
39-
id: qemu
40-
uses: docker/setup-qemu-action@v3
41-
with:
42-
platforms: ${{ matrix.config.qemu_arch }}
43-
4431
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
4532
with:
4633
bundle: oopetris.flatpak

0 commit comments

Comments
 (0)