Skip to content

Commit

Permalink
Add separate debian and ubuntu system package tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Mar 9, 2023
1 parent 859cff1 commit ceb9464
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/app-build-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,29 @@ jobs:
briefcase build windows VisualStudio
briefcase package windows VisualStudio --adhoc-sign
- name: Build Linux System project (Debian, local)
- name: Build Linux System project (Ubuntu, local)
if: |
startsWith(inputs.runner-os, 'ubuntu')
&& contains(fromJSON('["", "Linux"]'), inputs.target-platform)
&& contains(fromJSON('["", "system"]'), inputs.target-format)
&& ${{ inputs.briefcase-template-source == '3.10' }}
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 (Debian, 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 debian:bullseye
briefcase build linux system --target debian:bullseye
briefcase package linux system --target debian:bullseye --adhoc-sign
- name: Build Linux System project (RPM, Dockerized)
if: |
startsWith(inputs.runner-os, 'ubuntu')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
uses: ./.github/workflows/app-build-verify.yml
with:
# This *must* be the version of Python that is the system Python on ubuntu-latest.
# Otherwise native system package builds won't succeed.
# Otherwise native system package builds won't be included.
python-version: "3.10"
repository: beeware/briefcase
runner-os: ${{ matrix.runner-os }}
Expand Down

0 comments on commit ceb9464

Please sign in to comment.