File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,33 +102,29 @@ jobs:
102102 - ' x86'
103103 - ' x64'
104104 - ' arm64'
105- runs-on : ' windows-2022'
105+ exclude :
106+ - py : ' 3.8'
107+ arch : ' arm64'
108+ - py : ' 3.9'
109+ arch : ' arm64'
110+ - py : ' 3.10'
111+ arch : ' arm64'
112+ runs-on : ${{ matrix.arch == 'arm64' && 'windows-11-arm' || 'windows-2022' }}
106113 env :
107114 ZSTD_WARNINGS_AS_ERRORS : ' 1'
108115 steps :
109116 - name : Set up Python
110117 uses : actions/setup-python@v5
111118 with :
112119 python-version : ${{ matrix.py }}
113- architecture : ${{ matrix.arch == 'arm64' && 'x64' || matrix.arch }}
120+ architecture : ${{ matrix.arch }}
114121
115122 - uses : actions/checkout@v4
116123
117124 - name : Build Wheel
118- if : matrix.arch != 'arm64'
119125 run : |
120126 python -m pip wheel -w dist .
121127
122- - name : Build Wheel
123- if : matrix.arch == 'arm64'
124- shell : bash
125- run : |
126- python -m pip install --require-hashes -r ci/requirements.txt
127- export CIBW_ARCHS=ARM64
128- export CIBW_BUILD=cp$(echo ${{ matrix.py }} | tr -d .)-*
129- export CIBW_BUILD_VERBOSITY=1
130- cibuildwheel --output-dir dist --archs ARM64
131-
132128 - name : Upload Wheel
133129 uses : actions/upload-artifact@v4
134130 with :
You can’t perform that action at this time.
0 commit comments