Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

Commit 978bb71

Browse files
committed
Almost there
1 parent 70860ea commit 978bb71

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
CIBW_TEST_REQUIRES: pytest
1313
CIBW_TEST_COMMAND: "pytest {project}"
1414
CIBW_DEPENDENCY_VERSIONS: "pinned"
15+
CIBW_ARCHS: auto
1516

1617
jobs:
1718
build_wheels:
@@ -30,6 +31,7 @@ jobs:
3031
uses: ilammy/msvc-dev-cmd@v1
3132
with:
3233
toolset: "14.0"
34+
arch: ${{ matrix.arch }}
3335

3436
- name: Build wheels
3537
uses: pypa/cibuildwheel@v2.8.1
@@ -43,7 +45,7 @@ jobs:
4345
brew cleanup -s libxml2 libxslt libffi &&
4446
brew cleanup --prune-prefix &&
4547
brew install libxml2 libxslt automake pkg-config
46-
CIBW_BEFORE_ALL_WINDOWS: "call xmlstarlet\\build_msvc.bat"
48+
CIBW_BEFORE_BUILD_WINDOWS: "call xmlstarlet\\build_msvc.bat"
4749
CIBW_ENVIRONMENT_MACOS: >
4850
ARCHFLAGS="-arch x86_64"
4951
PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/libxslt/lib/pkgconfig"

xmlstarlet/build_msvc.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ md _build
1616

1717
rem Kill Git's link.exe which shadows MSVC's link.exe
1818
if exist "C:\Program Files\Git\usr\bin\link.exe" del "C:\Program Files\Git\usr\bin\link.exe"
19+
if exist "C:\Program Files (x86)\Git\usr\bin\link.exe" del "C:\Program Files (x86)\Git\usr\bin\link.exe"
1920

2021
echo Fetching sources for dependencies...
2122
cd _build\

0 commit comments

Comments
 (0)