Skip to content

Commit

Permalink
feat(ci): add python 3.12 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tyteen4a03 committed Mar 3, 2024
1 parent 6b0379f commit 3b08ce7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-20.04]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11]
os: [ubuntu-22.04]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12]

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
os: [ubuntu-22.04, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
python-version: '3.12'

- name: Prepare compiler environment for Windows
if: runner.os == 'Windows'
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Build wheels
env:
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-* cp312-*
CIBW_ARCHS_MACOS: "universal2"
CIBW_ARCHS_LINUX: "auto64"
CIBW_ARCHS_WINDOWS: "auto64"
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
python-version: '3.12'

- name: Build sdist
run: |
Expand All @@ -89,7 +89,7 @@ jobs:
run:
shell: bash
name: Check artifacts are correct
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
os: [ubuntu-22.04, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
python-version: '3.12'

- name: Prepare compiler environment for Windows
if: runner.os == 'Windows'
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Build wheels
env:
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-* cp312-*
CIBW_ARCHS_MACOS: "universal2"
CIBW_ARCHS_LINUX: "auto64"
CIBW_ARCHS_WINDOWS: "auto64"
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.11'
python-version: '3.12'

- name: Build sdist
run: |
Expand All @@ -98,7 +98,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
python-version: '3.12'

# download all artifacts to project dir
- uses: actions/download-artifact@v2
Expand Down

0 comments on commit 3b08ce7

Please sign in to comment.