Add a github action to build flatpaks

pull/1267/head
Ryan Pavlik 2021-04-22 13:31:02 -05:00 committed by ruevs
parent e6e217b7df
commit 6951c71785
1 changed files with 16 additions and 0 deletions

View File

@ -43,3 +43,19 @@ jobs:
- name: Build & Test
run: .github/scripts/build-macos.sh debug arm64 && .github/scripts/build-macos.sh debug x86_64
test_flatpak:
name: Test Flatpak x86_64
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
options: --privileged
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
with:
bundle: "solvespace.flatpak"
manifest-path: "pkg/flatpak/com.solvespace.SolveSpace.json"
cache-key: flatpak-builder-${{ github.sha }}