@@ -305,64 +305,6 @@ jobs:
305305 *.tar.gz
306306 *.sha256
307307
308- linux-powerpc :
309- runs-on : ubuntu-latest
310- timeout-minutes : 30
311- strategy :
312- matrix :
313- platform :
314- - target : powerpc64le-unknown-linux-gnu
315- arch : ppc64le
316- # see https://github.com/astral-sh/uv/issues/6528
317- maturin_docker_options : -e JEMALLOC_SYS_WITH_LG_PAGE=16
318- - target : powerpc64-unknown-linux-gnu
319- arch : ppc64
320- # see https://github.com/astral-sh/uv/issues/6528
321- maturin_docker_options : -e JEMALLOC_SYS_WITH_LG_PAGE=16
322- steps :
323- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
324- with :
325- persist-credentials : false
326- - name : " Build wheels"
327- uses : PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4
328- with :
329- target : ${{ matrix.platform.target }}
330- manylinux : auto
331- docker-options : ${{ matrix.platform.maturin_docker_options }}
332- args : --release --locked --out dist --features self-update
333- before-script-linux : |
334- if command -v yum &> /dev/null; then
335- yum update -y
336- yum -y install epel-release
337- yum repolist
338- yum install -y gcc-powerpc64-linux-gnu
339- fi
340- - name : " Upload wheels"
341- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
342- with :
343- name : wheels-linux-${{ matrix.platform.target }}
344- path : dist
345- - name : " Archive binary"
346- shell : bash
347- run : |
348- set -euo pipefail
349-
350- TARGET=${{ matrix.platform.target }}
351- ARCHIVE_NAME=prek-$TARGET
352- ARCHIVE_FILE=$ARCHIVE_NAME.tar.gz
353-
354- mkdir -p $ARCHIVE_NAME
355- cp target/$TARGET/release/prek $ARCHIVE_NAME/prek
356- tar czvf $ARCHIVE_FILE $ARCHIVE_NAME
357- shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
358- - name : " Upload binary"
359- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
360- with :
361- name : artifacts-${{ matrix.platform.target }}
362- path : |
363- *.tar.gz
364- *.sha256
365-
366308 linux-riscv64 :
367309 runs-on : ubuntu-latest
368310 timeout-minutes : 30
0 commit comments