1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00
audacity/.github/workflows/flatpak.yml
Emily Mabrey b34128b4c0
Update flatpak-github-actions@v3 to v4
Add QEMU to emulate ARM platform so aarch64 builds are correctly built
Update flatpak-github-actions to use v4 to fix cache per arch issue

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-01 22:08:35 -04:00

37 lines
938 B
YAML

name: Packaging
on:
push:
branches: [master]
pull_request:
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40
options: --privileged
strategy:
matrix:
arch: [x86_64, aarch64]
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
submodules: true
# Emulate to provide ARM support
- name: Install deps
run: |
dnf -y install docker ninja-build
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest
platforms: arm64
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
with:
bundle: tenacity.flatpak
manifest-path: packaging/flatpak/org.tenacity.Tenacity.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}