Skip to content

Commit

Permalink
build: add PyPy Windows as a nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Apr 26, 2024
1 parent e747f73 commit f63e035
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/python-nightly.yml
Expand Up @@ -31,22 +31,26 @@ concurrency:

jobs:
tests:
name: "${{ matrix.python-version }}"
# Choose a recent Ubuntu that deadsnakes still builds all the versions for.
# For example, deadsnakes doesn't provide 3.10 nightly for 22.04 (jammy)
# because jammy ships 3.10, and deadsnakes doesn't want to clobber it.
# https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly/+packages
# https://github.com/deadsnakes/issues/issues/234
# See https://github.com/deadsnakes/nightly for the source of the nightly
# builds.
# bionic: 18, focal: 20, jammy: 22, noble: 24
runs-on: ubuntu-22.04
name: "${{ matrix.python-version }} on ${{ matrix.os-short }}"
runs-on: "${{ matrix.os }}"
# If it doesn't finish in an hour, it's not going to. Don't spin for six
# hours needlessly.
timeout-minutes: 60

strategy:
matrix:
os:
# Choose a recent Ubuntu that deadsnakes still builds all the versions for.
# For example, deadsnakes doesn't provide 3.10 nightly for 22.04 (jammy)
# because jammy ships 3.10, and deadsnakes doesn't want to clobber it.
# https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly/+packages
# https://github.com/deadsnakes/issues/issues/234
# See https://github.com/deadsnakes/nightly for the source of the nightly
# builds.
# bionic: 18, focal: 20, jammy: 22, noble: 24
- "ubuntu-22.04"
os-short:
- "ubuntu"
python-version:
# When changing this list, be sure to check the [gh] list in
# tox.ini so that tox will run properly. PYVERSIONS
Expand All @@ -58,6 +62,10 @@ jobs:
- "pypy-3.8-nightly"
- "pypy-3.9-nightly"
- "pypy-3.10-nightly"
include:
- python-version: "pypy-3.10-nightly"
os: "windows-latest"
os-short: "windows"
fail-fast: false

steps:
Expand Down

0 comments on commit f63e035

Please sign in to comment.