Skip to content

Commit

Permalink
ci(python): testing the updated CIs to build both a generic windows w…
Browse files Browse the repository at this point in the history
…heel

and a python3.8 one.
  • Loading branch information
ghyatzo committed Sep 19, 2024
1 parent f6c0b87 commit 5741eac
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
push:
branches:
- stable
- fix-ci-python

permissions:
contents: read
Expand Down Expand Up @@ -89,6 +90,11 @@ jobs:
runs-on: ${{ matrix.platform.runner }}
strategy:
matrix:
versions:
- python: 3.8
features: py-noabi
- python: 3.x
features: py
platform:
- runner: windows-latest
target: x64
Expand All @@ -101,15 +107,15 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: ${{ matrix.versions.python }}
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
working-directory: dist/py
target: ${{ matrix.platform.target }}
container: 'off'
args: --release --out ./build
args: --release --out ./build --features ${{ matrix.versions.features }}
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5741eac

Please sign in to comment.