Skip to content

Commit

Permalink
Flatter: Add 'aarch64' multiarch build
Browse files Browse the repository at this point in the history
  • Loading branch information
PhrozenByte committed Oct 24, 2024
1 parent c756565 commit 65e9a62
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/flatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,27 @@ jobs:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-24.08
options: --privileged

strategy:
matrix:
arch: [x86_64, aarch64]
fail-fast: false
max-parallel: 1

steps:
- name: Setup Docker
if: ${{ matrix.arch == 'aarch64' }}
shell: bash --noprofile --norc -eu -o pipefail -x {0}
run: |
dnf update -y
dnf install -y docker
- name: Setup QEMU
if: ${{ matrix.arch == 'aarch64' }}
id: qemu
uses: docker/setup-qemu-action@v3
with:
platforms: arm64

- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -31,10 +51,10 @@ jobs:
with:
files: |
com.jetbrains.PhpStorm.json
arch: x86_64
arch: ${{ matrix.arch }}
gpg-sign: ${{ steps.gpg.outputs.fingerprint }}
upload-bundles: true
upload-pages-artifact: true
upload-pages-artifact: ${{ matrix.arch == 'aarch64' }}
flatpak-builder-args: |
--install-deps-from=flathub
Expand Down

0 comments on commit 65e9a62

Please sign in to comment.