Merge pull request #3324 from getchoo-contrib/backport-arm-stuff

[Backport release-9.x] Build Nix packages and Flatpaks for ARM
This commit is contained in:
Alexandru Ionut Tripon 2025-01-20 09:21:29 +02:00 committed by GitHub
commit 0a7325ac12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -631,10 +631,24 @@ jobs:
ccache -s ccache -s
flatpak: flatpak:
runs-on: ubuntu-latest name: Flatpak (${{ matrix.arch }})
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
- os: ubuntu-22.04-arm
arch: aarch64
runs-on: ${{ matrix.os }}
container: container:
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.8 image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.8
options: --privileged options: --privileged
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -652,6 +666,7 @@ jobs:
with: with:
bundle: PrismLauncher-${{ runner.os }}-${{ env.VERSION }}-Flatpak.flatpak bundle: PrismLauncher-${{ runner.os }}-${{ env.VERSION }}-Flatpak.flatpak
manifest-path: flatpak/org.prismlauncher.PrismLauncher.yml manifest-path: flatpak/org.prismlauncher.PrismLauncher.yml
arch: ${{ matrix.arch }}
nix: nix:
name: Nix (${{ matrix.system }}) name: Nix (${{ matrix.system }})
@ -663,6 +678,9 @@ jobs:
- os: ubuntu-22.04 - os: ubuntu-22.04
system: x86_64-linux system: x86_64-linux
- os: ubuntu-22.04-arm
system: aarch64-linux
- os: macos-13 - os: macos-13
system: x86_64-darwin system: x86_64-darwin