1010
1111env :
1212 FORCE_COLOR : 3
13- CIBW_BUILD_FRONTEND : " build"
14- CIBW_BUILD : " cp312-*"
15- CIBW_SKIP : " pp* *musllinux*"
1613
1714permissions : {}
1815
7168 with :
7269 package-dir : .
7370 output-dir : wheelhouse
74- env :
75- CIBW_ARCHS_WINDOWS : AMD64
76- CIBW_BEFORE_BUILD_WINDOWS : " pip install delvewheel"
77- CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : delvewheel repair -w {dest_dir} {wheel}
78- CIBW_TEST_COMMAND : |
79- hugo version
80- hugo env --logLevel debug
8171
8272 - name : Upload wheels
8373 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -97,27 +87,12 @@ jobs:
9787 persist-credentials : false
9888 submodules : recursive
9989
100- - name : Resolve Windows Meson cross file
101- id : meson-cross-file
102- shell : pwsh
103- run : |
104- $crossFile = (Resolve-Path (Join-Path $env:GITHUB_WORKSPACE 'meson_cross_files/windows-arm64.ini')).Path -replace '\\', '/'
105- "path=$crossFile" >> $env:GITHUB_OUTPUT
106-
10790 - name : Build binary distribution (wheel) on Windows (arm64)
10891 # We need to use cibuildwheel because it has experimental support for cross-compiling
10992 # to arm64 and setup-python does not have arm64 support on Windows right now
11093 uses : pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v4.1.0
111- with :
112- package-dir : .
113- output-dir : wheelhouse
11494 env :
115- CIBW_BUILD : " cp312-*"
11695 CIBW_ARCHS_WINDOWS : ARM64
117- CIBW_BEFORE_BUILD_WINDOWS : " pip install delvewheel"
118- CIBW_CONFIG_SETTINGS_WINDOWS : " setup-args=--cross-file=${{ steps.meson-cross-file.outputs.path }}"
119- CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : delvewheel repair -w {dest_dir} {wheel}
120- CIBW_TEST_SKIP : " *-win_arm64"
12196
12297 - name : Upload wheels
12398 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -128,7 +103,7 @@ jobs:
128103
129104 windows_i686_wheels :
130105 name : i686-windows
131- runs-on : windows-2025
106+ runs-on : windows-latest
132107 permissions :
133108 contents : read
134109 steps :
@@ -137,27 +112,10 @@ jobs:
137112 persist-credentials : false
138113 submodules : recursive
139114
140- - name : Resolve Windows Meson cross file
141- id : meson-cross-file
142- shell : pwsh
143- run : |
144- $crossFile = (Resolve-Path (Join-Path $env:GITHUB_WORKSPACE 'meson_cross_files/windows-386.ini')).Path -replace '\\', '/'
145- "path=$crossFile" >> $env:GITHUB_OUTPUT
146-
147115 - name : Build binary distribution (wheel) on Windows (i686)
148116 uses : pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v4.1.0
149- with :
150- package-dir : .
151- output-dir : wheelhouse
152117 env :
153- CIBW_BUILD : " cp312-*"
154118 CIBW_ARCHS_WINDOWS : x86
155- CIBW_BEFORE_BUILD_WINDOWS : " pip install delvewheel"
156- CIBW_CONFIG_SETTINGS_WINDOWS : " setup-args=--cross-file=${{ steps.meson-cross-file.outputs.path }}"
157- CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : delvewheel repair -w {dest_dir} {wheel}
158- CIBW_TEST_COMMAND : |
159- hugo version
160- hugo env --logLevel debug
161119
162120 - name : Upload wheels
163121 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -181,11 +139,6 @@ jobs:
181139 with :
182140 package-dir : .
183141 output-dir : wheelhouse
184- env :
185- CIBW_ARCHS_LINUX : x86_64
186- CIBW_TEST_COMMAND : |
187- hugo version
188- hugo env --logLevel debug
189142
190143 - name : Upload wheels
191144 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -209,11 +162,6 @@ jobs:
209162 with :
210163 package-dir : .
211164 output-dir : wheelhouse
212- env :
213- CIBW_ARCHS_LINUX : aarch64
214- CIBW_TEST_COMMAND : |
215- hugo version
216- hugo env --logLevel debug
217165
218166 - name : Upload wheels
219167 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -243,15 +191,8 @@ jobs:
243191
244192 - name : Build binary distribution (wheel) on Linux (s390x)
245193 uses : pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v4.1.0
246- with :
247- package-dir : .
248- output-dir : wheelhouse
249194 env :
250195 CIBW_ARCHS_LINUX : s390x
251- CIBW_ENVIRONMENT_LINUX : PATH=$PATH:$HOME/go_installed/go/bin
252- CIBW_TEST_COMMAND : |
253- hugo version
254- hugo env --logLevel debug
255196
256197 - name : Upload wheels
257198 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -274,22 +215,11 @@ jobs:
274215 - uses : docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0
275216 with :
276217 platforms : all
277- # This should be temporary
278- # xref https://github.com/docker/setup-qemu-action/issues/188
279- # xref https://github.com/tonistiigi/binfmt/issues/215
280- image : tonistiigi/binfmt:qemu-v8.1.5
281218
282219 - name : Build binary distribution (wheel) on Linux (ppc64le)
283220 uses : pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v4.1.0
284- with :
285- package-dir : .
286- output-dir : wheelhouse
287221 env :
288222 CIBW_ARCHS_LINUX : ppc64le
289- CIBW_ENVIRONMENT_LINUX : PATH=$PATH:$HOME/go_installed/go/bin
290- CIBW_TEST_COMMAND : |
291- hugo version
292- hugo env --logLevel debug
293223
294224 - name : Upload wheels
295225 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -313,11 +243,6 @@ jobs:
313243 with :
314244 package-dir : .
315245 output-dir : wheelhouse
316- env :
317- CIBW_ARCHS_MACOS : x86_64
318- CIBW_TEST_COMMAND : |
319- hugo version
320- hugo env --logLevel debug
321246
322247 - name : Upload wheels
323248 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -341,11 +266,6 @@ jobs:
341266 with :
342267 package-dir : .
343268 output-dir : wheelhouse
344- env :
345- CIBW_ARCHS_MACOS : arm64
346- CIBW_TEST_COMMAND : |
347- hugo version
348- hugo env --logLevel debug
349269
350270 - name : Upload wheels
351271 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
0 commit comments