github: trying to add flatpak builds

This commit is contained in:
Mitchell Hashimoto
2023-02-27 13:58:16 -08:00
parent 3135196442
commit e3e1e6c521
2 changed files with 23 additions and 0 deletions

20
.github/workflows/flatpak.yml vendored Normal file
View File

@ -0,0 +1,20 @@
on:
workflow_dispatch: {}
name: Flatpak
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-43
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: flatpak/flatpak-github-actions/flatpak-builder@v4
with:
bundle: ghostty.flatpak
manifest-path: com.mitchellh.ghostty.yml
branch: tip
cache-key: flatpak-builder-${{ github.sha }}-v1

View File

@ -92,6 +92,9 @@ jobs:
- name: Test Dynamic Build - name: Test Dynamic Build
run: nix develop -c zig build -Dstatic=false run: nix develop -c zig build -Dstatic=false
- name: Test Flatpak and GTK Build
run: nix develop -c zig build -Dflatpak=true -Dapp-runtime=gtk
- name: Test Wasm Build - name: Test Wasm Build
run: nix develop -c zig build wasm run: nix develop -c zig build wasm