Skip to content

Commit

Permalink
feat: use arm64 images for flatpak aarch64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Totto16 committed Feb 17, 2025
1 parent fb319be commit 70b0abf
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ on:
jobs:
flatpak:
name: Flatpak build (${{ matrix.config.arch }})
runs-on: ubuntu-24.04
runs-on: ubuntu-${{ matrix.config.os-version }}
strategy:
matrix:
config:
- arch: x86_64
use_qemu: false
os-version: 24.04

- arch: aarch64
use_qemu: true
qemu_arch: arm64
os-version: 24.04-arm
# Don't fail the whole workflow if one architecture fails
fail-fast: false
container:
Expand All @@ -29,18 +28,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install deps
if: ${{ matrix.config.use_qemu == true }}
run: |
dnf -y install docker
- name: Set up QEMU
if: ${{ matrix.config.use_qemu == true }}
id: qemu
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ matrix.config.qemu_arch }}

- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
with:
bundle: oopetris.flatpak
Expand Down

0 comments on commit 70b0abf

Please sign in to comment.