mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- stable
|
- stable
|
||||||
|
- fix-ci-python
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
@ -89,6 +90,11 @@ jobs:
|
||||||
runs-on: ${{ matrix.platform.runner }}
|
runs-on: ${{ matrix.platform.runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
versions:
|
||||||
|
- python: 3.8
|
||||||
|
features: py-noabi
|
||||||
|
- python: 3.x
|
||||||
|
features: py
|
||||||
platform:
|
platform:
|
||||||
- runner: windows-latest
|
- runner: windows-latest
|
||||||
target: x64
|
target: x64
|
||||||
|
@ -101,7 +107,7 @@ jobs:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: ${{ matrix.versions.python }}
|
||||||
architecture: ${{ matrix.platform.target }}
|
architecture: ${{ matrix.platform.target }}
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
|
@ -109,7 +115,7 @@ jobs:
|
||||||
working-directory: dist/py
|
working-directory: dist/py
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
container: 'off'
|
container: 'off'
|
||||||
args: --release --out ./build
|
args: --release --out ./build --features ${{ matrix.versions.features }}
|
||||||
sccache: 'true'
|
sccache: 'true'
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
Loading…
Reference in a new issue