8585 id : macosx_x86_64
8686 - image : macos-latest
8787 id : macosx_arm64
88-
8988 python-version : ["3.9", "3.10", "3.11", "3.12", "3.13"]
9089 exclude :
9190 - os :
@@ -116,10 +115,8 @@ jobs:
116115 - name : Building wheel
117116118117 env :
119- # Explicitly specify the Python implementation to use
120118 CIBW_BUILD : cp${{ env.shortver }}-${{ matrix.os.id }}
121- # Enable experimental feature for Windows ARM64
122- CIBW_ARCHS_WINDOWS : ARM64
119+ CIBW_ARCHS_WINDOWS : ${{ matrix.os.id == 'win_arm64' && 'ARM64' || 'auto' }}
123120 MACOSX_DEPLOYMENT_TARGET : 10.14 # Should be kept in sync with ci/build_darwin.sh
124121 with :
125122 output-dir : dist
@@ -150,6 +147,15 @@ jobs:
150147 download_name : win_arm64
151148 python-version : ["3.9", "3.10", "3.11", "3.12", "3.13"]
152149 cloud-provider : [aws, azure, gcp]
150+ exclude :
151+ - os :
152+ image_name : windows-11-arm
153+ download_name : win_arm64
154+ python-version : " 3.9"
155+ - os :
156+ image_name : windows-11-arm
157+ download_name : win_arm64
158+ python-version : " 3.10"
153159
154160 steps :
155161 - uses : actions/checkout@v4
@@ -159,18 +165,10 @@ jobs:
159165 python-version : ${{ matrix.python-version }}
160166 - name : Display Python version
161167 run : python -c "import sys; print(sys.version)"
162- - name : Set up Java for non-ARM environments
163- if : matrix.os.download_name != 'win_arm64'
164- uses : actions/setup-java@v4 # for wiremock
165- with :
166- java-version : 11
167- distribution : ' temurin'
168- java-package : ' jre'
169- - name : Set up Java for ARM64 Windows
170- if : matrix.os.download_name == 'win_arm64'
168+ - name : Set up Java
171169 uses : actions/setup-java@v4 # for wiremock
172170 with :
173- java-version : ' 21.0.5+11.0.LTS'
171+ java-version : ${{ matrix.os.download_name == 'win_arm64' && ' 21.0.5+11.0.LTS' || '11' }}
174172 distribution : ' temurin'
175173 java-package : ' jre'
176174 - name : Fetch Wiremock
0 commit comments