Skip to content

Commit a12ff48

Browse files
authored
BUILD/CI: Add win_arm64 wheel build (#1503)
1 parent c9f4ddf commit a12ff48

File tree

1 file changed

+15
-27
lines changed

1 file changed

+15
-27
lines changed

.github/workflows/release.yaml

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ jobs:
8484
triplet: "x86-windows"
8585
vcpkg_cache: "c:\\vcpkg\\installed"
8686
vcpkg_logs: "c:\\vcpkg\\buildtrees\\**\\*.log"
87+
- os: "windows-11-arm"
88+
arch: "ARM64"
89+
triplet: "arm64-windows"
90+
vcpkg_cache: "c:\\vcpkg\\installed"
91+
vcpkg_logs: "c:\\vcpkg\\buildtrees\\**\\*.log"
92+
msvc_arch: ARM64
8793

8894
steps:
8995
- uses: actions/checkout@v4
@@ -96,6 +102,12 @@ jobs:
96102
with:
97103
architecture: 'x86'
98104

105+
- name: Activate MSVC
106+
uses: ilammy/[email protected]
107+
with:
108+
arch: ${{ matrix.msvc_arch }}
109+
if: ${{ matrix.msvc_arch }}
110+
99111
- name: Cache vcpkg
100112
if: contains(matrix.os, 'windows')
101113
uses: actions/cache@v4
@@ -125,7 +137,7 @@ jobs:
125137
cp "$VCPKG_INSTALLATION_ROOT/installed/${{ matrix.triplet }}/share/proj/"* ${GITHUB_WORKSPACE}/pyproj/proj_dir/share/proj/
126138
127139
- name: Build wheels
128-
uses: pypa/[email protected]
140+
uses: pypa/[email protected].3
129141
env:
130142
CIBW_SKIP: "pp*-win* pp31*"
131143
CIBW_ARCHS: ${{ matrix.arch }}
@@ -180,32 +192,8 @@ jobs:
180192
- uses: actions/download-artifact@v4
181193
continue-on-error: ${{ github.event_name == 'push' && github.ref_type != 'tag' }}
182194
with:
183-
name: wheels-ubuntu-22.04-x86_64
184-
path: dist
185-
- uses: actions/download-artifact@v4
186-
continue-on-error: ${{ github.event_name == 'push' && github.ref_type != 'tag' }}
187-
with:
188-
name: wheels-ubuntu-22.04-arm-aarch64
189-
path: dist
190-
- uses: actions/download-artifact@v4
191-
continue-on-error: ${{ github.event_name == 'push' && github.ref_type != 'tag' }}
192-
with:
193-
name: wheels-macos-13-x86_64
194-
path: dist
195-
- uses: actions/download-artifact@v4
196-
continue-on-error: ${{ github.event_name == 'push' && github.ref_type != 'tag' }}
197-
with:
198-
name: wheels-macos-14-arm64
199-
path: dist
200-
- uses: actions/download-artifact@v4
201-
continue-on-error: ${{ github.event_name == 'push' && github.ref_type != 'tag' }}
202-
with:
203-
name: wheels-windows-2022-auto64
204-
path: dist
205-
- uses: actions/download-artifact@v4
206-
continue-on-error: ${{ github.event_name == 'push' && github.ref_type != 'tag' }}
207-
with:
208-
name: wheels-windows-2022-auto32
195+
pattern: wheels-*
196+
merge-multiple: true
209197
path: dist
210198

211199
- name: Upload Wheels to PyPI

0 commit comments

Comments
 (0)