Merge pull request #10 from jimmac/wip/jimmac/app-icon #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
flatpak: | |
name: Flatpak | |
runs-on: ubuntu-latest | |
container: | |
image: bilelmoussaoui/flatpak-github-actions:gnome-44 | |
options: --privileged | |
strategy: | |
matrix: | |
arch: [x86_64, aarch64] | |
# Don't fail the whole workflow if one architecture fails | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
# Docker is required by the docker/setup-qemu-action which enables emulation | |
- name: Install dependencies | |
if: ${{ matrix.arch != 'x86_64' }} | |
run: dnf -y install docker | |
- name: Set up QEMU | |
if: ${{ matrix.arch != 'x86_64' }} | |
id: qemu | |
uses: docker/setup-qemu-action@v2 | |
with: | |
platforms: arm64 | |
- uses: flatpak/flatpak-github-actions/flatpak-builder@v5 | |
with: | |
bundle: iplookup.flatpak | |
manifest-path: io.github.bytezz.IPLookup.json | |
arch: ${{ matrix.arch }} | |
cache-key: flatpak-builder-${{ github.sha }} |