From 14c59886b5849dc24ef8131ab2f2e3cae11416a4 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Tue, 29 Jul 2025 13:14:04 +0300 Subject: [PATCH] github: Publish Windows package --- .github/workflows/CI.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 59722b1..efad52c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -86,6 +86,31 @@ jobs: name: wheels-macos-arm64 path: dist + windows-x86_64: + runs-on: windows-latest + strategy: + matrix: + target: [x86_64] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Build wheels + uses: PyO3/maturin-action@v1 + env: + CXX: clang++ + CC: clang + with: + target: ${{ matrix.target }} + args: --release --out dist --find-interpreter + sccache: 'true' + - name: Upload wheels + uses: actions/upload-artifact@v4 + with: + name: wheels-windows-x86_64 + path: dist + sdist: runs-on: ubuntu-latest steps: @@ -105,7 +130,7 @@ jobs: name: Release runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" - needs: [linux, macos-arm64, macos-x86_64, sdist] + needs: [linux, macos-arm64, macos-x86_64, windows-x86_64, sdist] steps: - uses: actions/download-artifact@v4 with: