1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00
audacity/.github/workflows/flatpak.yml
Emily Mabrey b450069a86
Enable auto runs of flatpak CI
Flatpak CI should now run automatically when flatpak specific files are changed

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-27 12:27:47 -04:00

42 lines
1007 B
YAML

name: Packaging
on:
push:
branches:
- master
pull_request:
paths:
- /packaging/flatpak/**
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 }}