Skip to content

Commit

Permalink
CI: add python 3.13 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik authored Jan 19, 2025
1 parent b9e5833 commit dcbb63d
Showing 1 changed file with 71 additions and 18 deletions.
89 changes: 71 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ on: [push, pull_request]
# including the one that publishes the wheels to PyPI uses third-party actions.

# Lastly, the GITHUB_TOKEN permissions are set to read-only by default except
# for the job that deploys to GitHub Pages. In that job, a third-party action
# is used that writes to the 'gh-pages' branch of the repository.
# This will change in the near future once pages can be deployed directly
# without writing to a branch by using the new in-beta actions/deploy-pages action.
# After that, no third-party actions will be used and the token permissions are fully
# read-only.
# for the job that deploys to GitHub Pages.

permissions: read-all

Expand Down Expand Up @@ -61,7 +56,13 @@ jobs:
python-arch: 'x86_64'
python-version: '3.12'
numpy-version: '2.0.*'
#ARM 64
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_x86_64
python-arch: 'x86_64'
python-version: '3.13'
numpy-version: '2.0.*'

- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux_2_28_aarch64
Expand All @@ -86,31 +87,43 @@ jobs:
python-arch: 'aarch64'
python-version: '3.12'
numpy-version: '2.0.*'
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux_2_28_aarch64
python-arch: 'aarch64'
python-version: '3.13'
numpy-version: '2.0.*'

- os-image: macos-12
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.9'
numpy-version: '2.0.*'
- os-image: macos-12
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.10'
numpy-version: '2.0.*'
- os-image: macos-12
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.11'
numpy-version: '2.0.*'
- os-image: macos-12
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.12'
numpy-version: '2.0.*'
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.13'
numpy-version: '2.0.*'

- os-image: macos-14 # M1
os-name: mac
Expand All @@ -130,6 +143,12 @@ jobs:
macos-min-version: '11.0'
python-version: '3.12'
numpy-version: '2.0.*'
- os-image: macos-14 # M1
os-name: mac
python-arch: arm64
macos-min-version: '11.0'
python-version: '3.13'
numpy-version: '2.0.*'

- os-image: windows-latest
os-name: windows
Expand All @@ -151,6 +170,11 @@ jobs:
python-version: '3.12'
python-arch: 'x86_64'
numpy-version: '2.0.*'
- os-image: windows-latest
os-name: windows
python-version: '3.13'
python-arch: 'x86_64'
numpy-version: '2.0.*'

permissions:
security-events: write
Expand Down Expand Up @@ -252,6 +276,12 @@ jobs:
python-arch: 'x86_64'
python-version: '3.12'
numpy-version: '2.0.*'
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_x86_64
python-arch: 'x86_64'
python-version: '3.13'
numpy-version: '2.0.*'

- os-image: ubuntu-latest
os-name: linux
Expand All @@ -277,31 +307,43 @@ jobs:
python-arch: 'aarch64'
python-version: '3.12'
numpy-version: '2.0.*'
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux_2_28_aarch64
python-arch: 'aarch64'
python-version: '3.13'
numpy-version: '2.0.*'

- os-image: macos-12
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.9'
numpy-version: '2.0.*'
- os-image: macos-12
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.10'
numpy-version: '2.0.*'
- os-image: macos-12
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.11'
numpy-version: '2.0.*'
- os-image: macos-12
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.12'
numpy-version: '2.0.*'
- os-image: macos-13
os-name: mac
python-arch: x86_64
macos-min-version: '10.9'
python-version: '3.13'
numpy-version: '2.0.*'

- os-image: macos-14 # M1
os-name: mac
Expand All @@ -321,6 +363,12 @@ jobs:
macos-min-version: '11.0'
python-version: '3.12'
numpy-version: '2.0.*'
- os-image: macos-14 # M1
os-name: mac
python-arch: arm64
macos-min-version: '11.0'
python-version: '3.13'
numpy-version: '2.0.*'

- os-image: windows-latest
os-name: windows
Expand All @@ -342,6 +390,11 @@ jobs:
python-version: '3.12'
python-arch: 'x86_64'
numpy-version: '2.0.*'
- os-image: windows-latest
os-name: windows
python-version: '3.13'
python-arch: 'x86_64'
numpy-version: '2.0.*'

runs-on: ${{ matrix.config.os-image }}
# container: ${{ matrix.config.docker-image }}
Expand Down Expand Up @@ -421,7 +474,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.13'

- name: Download wheels from artifact storage
uses: actions/download-artifact@v4
Expand All @@ -432,7 +485,7 @@ jobs:

- name: Install from wheel
run: |
pip install dist/pyvirtualcam*cp310-manylinux*_x86_64.whl
pip install dist/pyvirtualcam*cp313-manylinux*_x86_64.whl
pip install -r dev-requirements.txt
- name: Build docs
Expand Down Expand Up @@ -461,7 +514,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.13'

- name: Upload wheels to PyPI
run: |
Expand Down

0 comments on commit dcbb63d

Please sign in to comment.