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

Switch to explicit linux system handling. #161

Merged
merged 3 commits into from
Oct 16, 2024
Merged
Changes from 1 commit
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
27 changes: 17 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,31 +47,38 @@ jobs:
verify-projects:
name: Verify project
needs: unit-tests
uses: beeware/.github/.github/workflows/app-create-verify.yml@main
# TODO: Revert to main when .github#172 is merged
# uses: beeware/.github/.github/workflows/app-create-verify.yml@main
uses: beeware/.github/.github/workflows/app-create-verify.yml@599f2fbb61c17aa94a962f26647f31a879a31052
with:
runner-os: ${{ matrix.runner-os }}
framework: ${{ matrix.framework }}
strategy:
fail-fast: false
matrix:
framework: [ "toga", "pyside6", "pygame" ]
runner-os: [ "macos-latest", "ubuntu-22.04", "windows-latest" ]
runner-os: [ "macos-latest", "ubuntu-latest", "windows-latest" ]

verify-apps:
name: Build app
needs: unit-tests
uses: beeware/.github/.github/workflows/app-build-verify.yml@main
# TODO: Revert to main when .github#172 is merged
# uses: beeware/.github/.github/workflows/app-build-verify.yml@main
uses: beeware/.github/.github/workflows/app-build-verify.yml@599f2fbb61c17aa94a962f26647f31a879a31052
with:
# This *must* be the version of Python that is the native system Python on
# ubuntu-22.04, which is needed to test local Debian packages. We use
# ubuntu-22.04 explicitly rather than ubuntu-latest because when
# ubuntu-latest upgrades to ubuntu-24.04, it will happen gradually, so the
# system Python version won't be predictable.
python-version: "3.10"
python-version: ${{ matrix.python-version }}
runner-os: ${{ matrix.runner-os }}
framework: ${{ matrix.framework }}
strategy:
fail-fast: false
matrix:
framework: [ "toga", "pyside6", "pygame" ]
rmartin16 marked this conversation as resolved.
Show resolved Hide resolved
runner-os: [ "macos-latest", "ubuntu-22.04", "windows-latest" ]
runner-os: [ "macos-latest", "ubuntu-latest", "windows-latest" ]

include:
# A version of Python that is supported by all the GUI toolkits.
- python-version: "3.12"

# Ubuntu must always use the system Python
- runner-os: ubuntu-latest
python-version: system