File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,44 @@ jobs:
293293 path : ./wheelhouse/*.whl
294294 if-no-files-found : error
295295
296+ linux_armv7l_wheels :
297+ name : armv7l-manylinux
298+ runs-on : ubuntu-latest
299+ steps :
300+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
301+ - uses : docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
302+ with :
303+ platforms : all
304+
305+ - name : Build binary distribution (wheel) on Linux (armv7l)
306+ uses : pypa/cibuildwheel@f1859528322d7b29d4493ee241a167807661dfb4 # v2.21.2
307+ with :
308+ package-dir : .
309+ output-dir : wheelhouse
310+ env :
311+ CIBW_BUILD : " cp312-*"
312+ CIBW_ARCHS_LINUX : armv7l
313+ CIBW_BEFORE_ALL_LINUX : |
314+ # GOARM=7 has been set in setup.py
315+ tarball="go1.23.0.linux-armv6l.tar.gz"
316+ curl -LJO https://golang.org/dl/$tarball
317+ mkdir $HOME/go_installed/
318+ tar -C $HOME/go_installed/ -xzf $tarball
319+ export PATH=$PATH:$HOME/go_installed/go/bin >> ~/.bashrc
320+ export PATH=$PATH:$HOME/go_installed/go/bin >> ~/.bash_profile
321+ go version
322+ CIBW_ENVIRONMENT_LINUX : PATH=$PATH:$HOME/go_installed/go/bin
323+ CIBW_TEST_COMMAND : |
324+ hugo version
325+ hugo env --logLevel debug
326+
327+ - name : Upload wheels
328+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
329+ with :
330+ name : wheels_linux_armv7l
331+ path : ./wheelhouse/*.whl
332+ if-no-files-found : error
333+
296334 macos_amd64_wheels :
297335 name : amd64-macos
298336 runs-on : macos-13
@@ -362,6 +400,7 @@ jobs:
362400 linux_arm64_wheels,
363401 linux_s390x_wheels,
364402 linux_ppc64le_wheels,
403+ linux_armv7l_wheels,
365404 ]
366405
367406 name : Publish to PyPI or TestPyPI
You can’t perform that action at this time.
0 commit comments