Skip to content

Commit 50684fb

Browse files
authored
Drop powerpc64 wheels (#1319)
1 parent e255e88 commit 50684fb

File tree

3 files changed

+1
-61
lines changed

3 files changed

+1
-61
lines changed

.github/workflows/build-binaries.yml

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -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

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
cargo-test-macos:
245245
runs-on: macos-latest
246246
name: "cargo test | macos"
247-
timeout-minutes: 5
247+
timeout-minutes: 10
248248
steps:
249249
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
250250
with:

dist-workspace.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ targets = [
3333
"armv7-unknown-linux-gnueabihf",
3434
"armv7-unknown-linux-musleabihf",
3535
"x86_64-apple-darwin",
36-
"powerpc64-unknown-linux-gnu",
37-
"powerpc64le-unknown-linux-gnu",
3836
"riscv64gc-unknown-linux-gnu",
3937
"s390x-unknown-linux-gnu",
4038
"x86_64-unknown-linux-gnu",

0 commit comments

Comments
 (0)