2023-05-04 00:34:21 +05:30
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-05-04 00:38:33 +05:30
|
|
|
branches: [ "master" ]
|
2023-05-04 00:34:21 +05:30
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
flatpak:
|
|
|
|
name: Flatpak
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: bilelmoussaoui/flatpak-github-actions:gnome-44
|
|
|
|
options: --privileged
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
arch: [x86_64]
|
|
|
|
fail-fast: false
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
dnf -y install docker
|
|
|
|
- name: Set up QEMU
|
|
|
|
id: qemu
|
|
|
|
uses: docker/setup-qemu-action@v2.1.0
|
|
|
|
with:
|
|
|
|
platforms: arm64
|
|
|
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
|
|
|
with:
|
|
|
|
repository-name: gnome-44
|
|
|
|
bundle: bavarder.flatpak
|
2023-05-04 00:42:21 +05:30
|
|
|
manifest-path: build-aux/flatpak/page.codeberg.Imaginer.Imaginer.json
|
2023-05-04 00:34:21 +05:30
|
|
|
cache-key: flatpak-builder-${{ github.sha }}
|
|
|
|
arch: ${{ matrix.arch }}
|