Skip to content

Commit 133de43

Browse files
khmyznikovsfc-gh-pczajka
authored andcommitted
[BUILD] Add win_arm64 platform support (#2478)
1 parent 1378eeb commit 133de43

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/build_test.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,24 @@ jobs:
8282
id: manylinux_aarch64
8383
- image: windows-latest
8484
id: win_amd64
85+
- image: windows-11-arm
86+
id: win_arm64
8587
- image: macos-latest
8688
id: macosx_x86_64
8789
- image: macos-latest
8890
id: macosx_arm64
8991
# TODO: temporarily reduce number of jobs: SNOW-2311643
9092
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
9193
python-version: ["3.9", "3.13"]
94+
exclude:
95+
- os:
96+
image: windows-11-arm
97+
id: win_arm64
98+
python-version: "3.9"
99+
- os:
100+
image: windows-11-arm
101+
id: win_arm64
102+
python-version: "3.10"
92103
name: Build ${{ matrix.os.id }}-py${{ matrix.python-version }}
93104
runs-on: ${{ matrix.os.image }}
94105
steps:
@@ -110,6 +121,7 @@ jobs:
110121
uses: pypa/[email protected]
111122
env:
112123
CIBW_BUILD: cp${{ env.shortver }}-${{ matrix.os.id }}
124+
CIBW_ARCHS_WINDOWS: ${{ matrix.os.id == 'win_arm64' && 'ARM64' || 'auto' }}
113125
MACOSX_DEPLOYMENT_TARGET: 10.14 # Should be kept in sync with ci/build_darwin.sh
114126
with:
115127
output-dir: dist
@@ -136,10 +148,21 @@ jobs:
136148
download_name: macosx_x86_64
137149
- image_name: windows-latest
138150
download_name: win_amd64
151+
- image_name: windows-11-arm
152+
download_name: win_arm64
139153
# TODO: temporarily reduce number of jobs: SNOW-2311643
140154
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
141155
python-version: ["3.9", "3.13"]
142156
cloud-provider: [aws, azure, gcp]
157+
exclude:
158+
- os:
159+
image_name: windows-11-arm
160+
download_name: win_arm64
161+
python-version: "3.9"
162+
- os:
163+
image_name: windows-11-arm
164+
download_name: win_arm64
165+
python-version: "3.10"
143166

144167
steps:
145168
- uses: actions/checkout@v4
@@ -152,7 +175,7 @@ jobs:
152175
- name: Set up Java
153176
uses: actions/setup-java@v4 # for wiremock
154177
with:
155-
java-version: 11
178+
java-version: ${{ matrix.os.download_name == 'win_arm64' && '21.0.5+11.0.LTS' || '11' }}
156179
distribution: 'temurin'
157180
java-package: 'jre'
158181
- name: Fetch Wiremock

0 commit comments

Comments
 (0)