mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 03:55:33 +00:00
CI: Add ARM64 flatpak build
This commit is contained in:
parent
4ceeb58dbc
commit
57883910d6
21
.github/workflows/linux-flatpak-build.yml
vendored
21
.github/workflows/linux-flatpak-build.yml
vendored
@ -15,12 +15,17 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux-flatpak-build:
|
linux-flatpak-build:
|
||||||
name: "x64"
|
name: "Build"
|
||||||
runs-on: ubuntu-22.04
|
strategy:
|
||||||
|
fail-fast: true
|
||||||
|
matrix:
|
||||||
|
setup: [{arch: "x86_64", runner: "ubuntu-22.04"}, {arch: "aarch64", runner: "ubuntu-24.04-arm"}]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.setup.runner }}
|
||||||
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
|
||||||
timeout-minutes: 120
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -72,17 +77,17 @@ jobs:
|
|||||||
- name: Build Flatpak
|
- name: Build Flatpak
|
||||||
uses: flathub-infra/flatpak-github-actions/flatpak-builder@23796715b3dfa4c86ddf50cf29c3cc8b3c82dca8
|
uses: flathub-infra/flatpak-github-actions/flatpak-builder@23796715b3dfa4c86ddf50cf29c3cc8b3c82dca8
|
||||||
with:
|
with:
|
||||||
bundle: duckstation-x64.flatpak
|
bundle: duckstation-${{ matrix.setup.arch }}.flatpak
|
||||||
upload-artifact: false
|
upload-artifact: false
|
||||||
manifest-path: scripts/packaging/flatpak/org.duckstation.DuckStation.yaml
|
manifest-path: scripts/packaging/flatpak/org.duckstation.DuckStation.yaml
|
||||||
arch: x86_64
|
arch: ${{ matrix.setup.arch }}
|
||||||
build-bundle: true
|
build-bundle: true
|
||||||
verbose: true
|
verbose: true
|
||||||
mirror-screenshots-url: https://dl.flathub.org/media
|
mirror-screenshots-url: https://dl.flathub.org/media
|
||||||
branch: stable
|
branch: stable
|
||||||
cache: true
|
cache: true
|
||||||
restore-cache: true
|
restore-cache: true
|
||||||
cache-key: flatpak-x64-${{ hashFiles('scripts/packaging/flatpak/**/*.yaml') }}
|
cache-key: flatpak-${{ hashFiles('scripts/packaging/flatpak/**/*.yaml') }}
|
||||||
|
|
||||||
- name: Validate Build
|
- name: Validate Build
|
||||||
run: |
|
run: |
|
||||||
@ -109,5 +114,5 @@ jobs:
|
|||||||
- name: Upload Flatpak
|
- name: Upload Flatpak
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "linux-flatpak"
|
name: "linux-flatpak-${{ matrix.setup.arch }}"
|
||||||
path: "duckstation-x64.flatpak"
|
path: "duckstation-${{ matrix.setup.arch }}.flatpak"
|
||||||
|
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -63,7 +63,8 @@ jobs:
|
|||||||
./artifacts/windows-arm64/duckstation-windows-arm64-release-symbols.zip
|
./artifacts/windows-arm64/duckstation-windows-arm64-release-symbols.zip
|
||||||
./artifacts/linux-x64-appimage/DuckStation-x64.AppImage
|
./artifacts/linux-x64-appimage/DuckStation-x64.AppImage
|
||||||
./artifacts/linux-x64-sse2-appimage/DuckStation-x64-SSE2.AppImage
|
./artifacts/linux-x64-sse2-appimage/DuckStation-x64-SSE2.AppImage
|
||||||
./artifacts/linux-flatpak/duckstation-x64.flatpak
|
./artifacts/linux-flatpak-x86_64/duckstation-x86_64.flatpak
|
||||||
|
./artifacts/linux-flatpak-aarch64/duckstation-aarch64.flatpak
|
||||||
./artifacts/macos/duckstation-mac-release.zip
|
./artifacts/macos/duckstation-mac-release.zip
|
||||||
|
|
||||||
- name: Create Rolling Release
|
- name: Create Rolling Release
|
||||||
@ -83,6 +84,7 @@ jobs:
|
|||||||
./artifacts/windows-arm64/duckstation-windows-arm64-release-symbols.zip
|
./artifacts/windows-arm64/duckstation-windows-arm64-release-symbols.zip
|
||||||
./artifacts/linux-x64-appimage/DuckStation-x64.AppImage
|
./artifacts/linux-x64-appimage/DuckStation-x64.AppImage
|
||||||
./artifacts/linux-x64-sse2-appimage/DuckStation-x64-SSE2.AppImage
|
./artifacts/linux-x64-sse2-appimage/DuckStation-x64-SSE2.AppImage
|
||||||
./artifacts/linux-flatpak/duckstation-x64.flatpak
|
./artifacts/linux-flatpak-x86_64/duckstation-x86_64.flatpak
|
||||||
|
./artifacts/linux-flatpak-aarch64/duckstation-aarch64.flatpak
|
||||||
./artifacts/macos/duckstation-mac-release.zip
|
./artifacts/macos/duckstation-mac-release.zip
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user