mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
ci: try multiarch flatpak builder
This commit is contained in:
16
.github/workflows/flatpak.yml
vendored
16
.github/workflows/flatpak.yml
vendored
@ -9,14 +9,28 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-43
|
image: bilelmoussaoui/flatpak-github-actions:gnome-43
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
arch: [x86_64, aarch64]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
# Docker is required by the docker/setup-qemu-action which enables emulation
|
||||||
|
- name: Install deps
|
||||||
|
run: |
|
||||||
|
dnf -y install docker
|
||||||
|
- name: Set up QEMU
|
||||||
|
id: qemu
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
with:
|
||||||
|
platforms: arm64
|
||||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v4
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@v4
|
||||||
with:
|
with:
|
||||||
bundle: ghostty.flatpak
|
bundle: ghostty.flatpak
|
||||||
manifest-path: com.mitchellh.ghostty.yml
|
manifest-path: com.mitchellh.ghostty.yml
|
||||||
branch: tip
|
branch: tip
|
||||||
cache-key: flatpak-builder-${{ github.sha }}-v1
|
cache-key: flatpak-builder-${{ matrix.arch }}-${{ github.sha }}-v1
|
||||||
|
arch: ${{ matrix.arch }}
|
||||||
|
Reference in New Issue
Block a user