From ccf8d7334d9a7f0a9cbc8ce54c566db4f9eb8566 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 13 Jan 2026 14:16:41 -0600 Subject: [PATCH] Build a Windows wheel --- .github/workflows/wheels.yml | 2 +- pyproject.toml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index cd37786..9e9da66 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-15-intel, macos-14, ubuntu-22.04-arm] + os: [ubuntu-latest, macos-15-intel, macos-14, ubuntu-22.04-arm, windows-latest] steps: - uses: actions/checkout@v6 diff --git a/pyproject.toml b/pyproject.toml index b78782f..4820241 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,6 +131,11 @@ skip = ["*_i686", 'cp31?t-*', "cp314-musllinux_x86_64"] test-requires = "pytest" test-command = "pytest {project}/test" +[tool.cibuildwheel.windows] +before-all = [ + "curl -o isl-supplementary/strings.h https://raw.githubusercontent.com/win32ports/strings_h/822de6e8c368abb986b403792082189f3c602c45/strings.h", +] + [tool.cibuildwheel.macos.environment] # Needed for full C++17 support MACOSX_DEPLOYMENT_TARGET = "10.14"