Skip to content

Commit

Permalink
Merge pull request #59 from rmartin16/test-pygame-flatpak
Browse files Browse the repository at this point in the history
Add support to test Flatpak with PyGame
  • Loading branch information
freakboy3742 authored Oct 24, 2023
2 parents ef67c95 + d75e35c commit 1d10330
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/app-build-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,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

0 comments on commit 1d10330

Please sign in to comment.