ci(py): fix features

This commit is contained in:
əlemi 2024-11-17 14:33:47 +01:00
parent d04cfa3539
commit 5f1d5e4a35
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -91,9 +91,11 @@ jobs:
matrix: matrix:
versions: versions:
- python: 3.8 - python: 3.8
features: py-noabi extra: ''
name: 'py'
- python: 3.x - python: 3.x
features: py extra: '--no-default-features'
name: 'py-noabi'
platform: platform:
- runner: windows-latest - runner: windows-latest
target: x64 target: x64
@ -114,12 +116,12 @@ 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 --features ${{ matrix.versions.features }} args: --release --out ./build ${{ matrix.versions.extra }} --features py
sccache: 'true' sccache: 'true'
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: codemp-${{ matrix.versions.features }}-windows-${{ matrix.platform.target }} name: codemp-${{ matrix.versions.name }}-windows-${{ matrix.platform.target }}
path: dist/py/build path: dist/py/build
macos: macos: