From 5deb4d88bb1d072f647b665143efffcb4f02c71c Mon Sep 17 00:00:00 2001 From: hab <_@habnab.it> Date: Thu, 4 Jul 2024 10:48:51 -0700 Subject: [PATCH] fixup! 96cd3040e80bc3130d4d1d78cdb49a8e8541907d --- .github/workflows/build-wheels.yml | 70 +++++++++++++++--------------- tox.ini | 2 +- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 115e323..7416536 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -102,40 +102,40 @@ jobs: name: wheels-musllinux-${{ matrix.platform.target }} path: dist - # windows: - # runs-on: ${{ matrix.platform.runner }} - # strategy: - # matrix: - # platform: - # - runner: windows-latest - # target: x64 - # - runner: windows-latest - # target: x86 - # steps: - # - uses: actions/checkout@v4 - # - uses: actions/setup-python@v5 - # with: - # python-version: | - # pypy3.9 - # pypy3.10 - # 3.7 - # 3.8 - # 3.9 - # 3.10 - # 3.11 - # 3.12 - # architecture: ${{ matrix.platform.target }} - # - name: Build wheels - # uses: PyO3/maturin-action@v1 - # with: - # target: ${{ matrix.platform.target }} - # args: --release --out dist --find-interpreter - # sccache: 'true' - # - name: Upload wheels - # uses: actions/upload-artifact@v4 - # with: - # name: wheels-windows-${{ matrix.platform.target }} - # path: dist + windows: + runs-on: ${{ matrix.platform.runner }} + strategy: + matrix: + platform: + - runner: windows-latest + target: x64 + - runner: windows-latest + target: x86 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: | + pypy3.9 + pypy3.10 + 3.7 + 3.8 + 3.9 + 3.10 + 3.11 + 3.12 + architecture: ${{ matrix.platform.target }} + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist --find-interpreter + sccache: 'true' + - name: Upload wheels + uses: actions/upload-artifact@v4 + with: + name: wheels-windows-${{ matrix.platform.target }} + path: dist macos: runs-on: ${{ matrix.platform.runner }} @@ -189,7 +189,7 @@ jobs: name: Release runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" - needs: [linux, musllinux, macos, sdist] + needs: [linux, musllinux, windows, macos, sdist] steps: - uses: actions/download-artifact@v4 - name: Publish to PyPI diff --git a/tox.ini b/tox.ini index 1da3b1c..8ce2c7e 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ setenv = deps = pytest pytest-cov -extras = yaml,clipboard +extras = yaml commands = py.test --cov={envsitepackagesdir}/passacre --cov-report=html --cov-report=xml -ra {posargs} {envsitepackagesdir}/passacre