Repository navigation
test: add make target to validate metainfo and desktop files #101
This file contains hidden or 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
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [unstable, main] | |
| name: CI Build Flatpak | |
| jobs: | |
| lint: | |
| name: "Validate manifest" | |
| runs-on: ubuntu-26.04 | |
| container: | |
| image: ghcr.io/flathub/flatpak-builder-lint:latest | |
| options: --entrypoint= | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: recursive | |
| - name: Run flatpak-builder-lint | |
| run: | | |
| flatpak-builder-lint --gha-format manifest build-aux/io.github.vani_tty1.memerist.yml | |
| flatpak: | |
| name: "Flatpak" | |
| needs: lint | |
| container: | |
| image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-50 | |
| options: --privileged | |
| strategy: | |
| matrix: | |
| variant: | |
| - arch: x86_64 | |
| runner: ubuntu-26.04 | |
| - arch: aarch64 | |
| runner: ubuntu-26.04-arm | |
| runs-on: ${{ matrix.variant.runner }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: recursive | |
| - uses: flatpak/flatpak-github-actions/flatpak-builder@v6 | |
| with: | |
| bundle: memerist.flatpak | |
| manifest-path: build-aux/io.github.vani_tty1.memerist.yml | |
| cache-key: flatpak-builder-${{ github.sha }} | |
| arch: ${{ matrix.variant.arch }} | |
| run-tests: true | |
| verbose: true |