Skip to content

Commit 4fc8ec9

Browse files
authored
Add support for building h3-py wheel on WoA (#463)
* Add support for building h3-py wheel on WoA * Use official MSVC reusable action for Win-builds
1 parent ce0638d commit 4fc8ec9

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@ jobs:
7171
build: 'cp3*-win_amd64'
7272
name: Windows 64-bit
7373

74+
- os: windows-11-arm
75+
build: 'cp311-win_arm64'
76+
name: Windows ARM64 3.11
77+
- os: windows-11-arm
78+
build: 'cp312-win_arm64'
79+
name: Windows ARM64 3.12
80+
- os: windows-11-arm
81+
build: 'cp313-win_arm64'
82+
name: Windows ARM64 3.13
83+
7484
- os: ubuntu-22.04
7585
build: 'cp*-manylinux_x86_64'
7686
name: Linux Intel glibc 64-bit
@@ -118,8 +128,17 @@ jobs:
118128
with:
119129
submodules: recursive
120130

121-
- uses: ilammy/[email protected]
122-
if: runner.os == 'Windows'
131+
- name: Set MSVC for Windows-x64
132+
uses: microsoft/setup-msbuild@v2
133+
if: matrix.os == 'windows-latest'
134+
with:
135+
msbuild-architecture: x64
136+
137+
- name: Set MSVC for Windows-ARM64
138+
uses: microsoft/setup-msbuild@v2
139+
if: matrix.os == 'windows-11-arm'
140+
with:
141+
msbuild-architecture: arm64
123142

124143
- name: Set Windows variables
125144
if: runner.os == 'Windows'
@@ -134,7 +153,7 @@ jobs:
134153
with:
135154
platforms: aarch64
136155

137-
- uses: pypa/cibuildwheel@v2.21.3
156+
- uses: pypa/cibuildwheel@v3.1.3
138157
env:
139158
CIBW_TEST_REQUIRES: pytest pytest-cov numpy
140159
CIBW_TEST_COMMAND: pytest {project}/tests

0 commit comments

Comments
 (0)