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 support to test Flatpak with PyGame #59

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/app-build-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ jobs:
startsWith(inputs.runner-os, 'ubuntu')
&& contains(fromJSON('["", "Linux"]'), inputs.target-platform)
&& contains(fromJSON('["", "Flatpak"]'), inputs.target-format)
&& startsWith(inputs.framework, 'toga')
&& contains(fromJSON('["Toga", "PyGame"]'), inputs.framework)
run: |
sudo apt-get update -y
sudo apt-get install -y flatpak flatpak-builder
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ jobs:
needs: [pre-commit, test-package-python]
uses: ./.github/workflows/app-build-verify.yml
with:
python-version: "3.9"
python-version: "3.11"
repository: beeware/briefcase
runner-os: ${{ matrix.runner-os }}
framework: ${{ matrix.framework }}
Expand All @@ -235,7 +235,7 @@ jobs:
needs: pre-commit
uses: ./.github/workflows/app-build-verify.yml
with:
python-version: "3.9"
python-version: "3.11"
repository: beeware/briefcase-template
briefcase-template-source: "../../"
runner-os: ${{ matrix.runner-os }}
Expand All @@ -251,7 +251,7 @@ jobs:
needs: pre-commit
uses: ./.github/workflows/app-build-verify.yml
with:
python-version: "3.9"
python-version: "3.11"
repository: beeware/briefcase-android-gradle-template
runner-os: ${{ matrix.runner-os }}
target-platform: android
Expand All @@ -267,7 +267,7 @@ jobs:
needs: pre-commit
uses: ./.github/workflows/app-build-verify.yml
with:
python-version: "3.9"
python-version: "3.11"
repository: beeware/briefcase-iOS-xcode-template
runner-os: macos-latest
target-platform: iOS
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
# needs: pre-commit
# uses: ./.github/workflows/app-build-verify.yml
# with:
# python-version: "3.9"
# python-version: "3.11"
# repository: beeware/briefcase-linux-appimage-template
# runner-os: ubuntu-latest
# target-platform: linux
Expand All @@ -313,19 +313,23 @@ jobs:
needs: pre-commit
uses: ./.github/workflows/app-build-verify.yml
with:
python-version: "3.9"
python-version: "3.11"
repository: beeware/briefcase-linux-flatpak-template
runner-os: ubuntu-latest
target-platform: linux
target-format: flatpak
framework: toga
framework: ${{ matrix.framework }}
strategy:
fail-fast: false
matrix:
framework: [ "toga", "pygame" ]

test-verify-apps-macOS-templates:
name: Test Verify macOS App
needs: pre-commit
uses: ./.github/workflows/app-build-verify.yml
with:
python-version: "3.9"
python-version: "3.11"
repository: beeware/briefcase-macos-${{ matrix.format }}-template
runner-os: macos-latest
target-platform: macOS
Expand All @@ -342,7 +346,7 @@ jobs:
needs: pre-commit
uses: ./.github/workflows/app-build-verify.yml
with:
python-version: "3.9"
python-version: "3.11"
repository: beeware/briefcase-web-static-template
runner-os: ubuntu-latest
target-platform: web
Expand All @@ -354,7 +358,7 @@ jobs:
needs: pre-commit
uses: ./.github/workflows/app-build-verify.yml
with:
python-version: "3.9"
python-version: "3.11"
python-source: ${{ matrix.python-source }}
repository: beeware/briefcase-windows-${{ matrix.format }}-template
runner-os: windows-latest
Expand Down
Loading