From 5741eacc85d4c92250eb44fc2158768168319843 Mon Sep 17 00:00:00 2001 From: cschen Date: Thu, 19 Sep 2024 21:34:06 +0200 Subject: [PATCH] ci(python): testing the updated CIs to build both a generic windows wheel and a python3.8 one. --- .github/workflows/python.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 28a24f5..b45c375 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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