mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
ci(python): testing the updated CIs to build both a generic windows wheel
and a python3.8 one.
This commit is contained in:
parent
f6c0b878cb
commit
5741eacc85
1 changed files with 8 additions and 2 deletions
10
.github/workflows/python.yml
vendored
10
.github/workflows/python.yml
vendored
|
@ -9,6 +9,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- stable
|
||||
- fix-ci-python
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
@ -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
|
||||
|
@ -101,7 +107,7 @@ 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
|
||||
|
@ -109,7 +115,7 @@ jobs:
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue