Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add app verification tests for Linux system packages. #14

Merged
merged 12 commits into from
Mar 9, 2023
34 changes: 34 additions & 0 deletions .github/workflows/app-build-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,40 @@ jobs:
briefcase build windows VisualStudio
briefcase package windows VisualStudio --adhoc-sign

- name: Build Linux System project (Debian, local)
if: |
startsWith(inputs.runner-os, 'ubuntu')
&& contains(fromJSON('["", "Linux"]'), inputs.target-platform)
&& contains(fromJSON('["", "system"]'), inputs.target-format)
run: |
cd tests/apps/verify-${{ inputs.framework }}
briefcase create linux system
briefcase build linux system
briefcase package linux system --adhoc-sign

- name: Build Linux System project (RPM, Dockerized)
if: |
startsWith(inputs.runner-os, 'ubuntu')
&& contains(fromJSON('["", "Linux"]'), inputs.target-platform)
&& contains(fromJSON('["", "system"]'), inputs.target-format)
run: |
cd tests/apps/verify-${{ inputs.framework }}
briefcase create linux system --target fedora:37
briefcase build linux system --target fedora:37
briefcase package linux system --target fedora:37 --adhoc-sign

- name: Build Linux System project (Arch, Dockerized)
if: |
startsWith(inputs.runner-os, 'ubuntu')
&& contains(fromJSON('["", "Linux"]'), inputs.target-platform)
&& contains(fromJSON('["", "system"]'), inputs.target-format)
run: |
cd tests/apps/verify-${{ inputs.framework }}
briefcase create linux system --target archlinux:latest
briefcase build linux system --target archlinux:latest
# FIXME: Arch packaging not supported (yet!)
# briefcase package linux system --target archlinux:latest --adhoc-sign

- name: Build AppImage project
if: |
startsWith(inputs.runner-os, 'ubuntu')
Expand Down