1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-13 07:29:00 +02:00
audacity/.github/workflows/flatpak.yml
Emily Mabrey 69774679e7
Disable Flatpak builds on PR
Flatpak builds will only run on merge to master and when manually triggered

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-11 15:34:47 -04:00

38 lines
944 B
YAML

name: Packaging
on:
push:
branches: [master]
workflow_dispatch:
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 }}