Skip to content

Commit a3bbeaa

Browse files
authored
ci: add Windows x64 wheels (#47)
1 parent 8124920 commit a3bbeaa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
build_wheels:
2525
strategy:
2626
matrix:
27-
os: ["ubuntu-latest", "macos-latest"]
27+
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
2828

2929
runs-on: ${{ matrix.os }}
3030
steps:

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ before-all = "make c_lib"
3535
archs = ["x86_64", "universal2", "arm64"]
3636
environment = { MACOSX_DEPLOYMENT_TARGET="10.15" }
3737
before-build = "make clean && make c_lib"
38+
39+
[tool.cibuildwheel.windows]
40+
archs = ["AMD64"]
41+
before-build = '"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat" && cl "ada_url\\ada.cpp" /c /nologo /Fo"ada_url\\ada.o" /O2 /GL /MD /W3 /EHsc /std:c++17'

0 commit comments

Comments
 (0)