Skip to content

Commit

Permalink
Update to manylinux 2_28 (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Jul 3, 2024
1 parent 91a27be commit dfe8cdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-arm64-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
docker run --rm \
-v ${{ github.workspace }}:/ws --workdir=/ws \
quay.io/pypa/manylinux2014_aarch64 \
quay.io/pypa/manylinux_2_28_aarch64 \
bash -exc '\
echo $PATH && \
curl -L https://sh.rustup.rs > rustup-init.sh && \
Expand All @@ -51,7 +51,7 @@ jobs:
if [ ! -f "activate" ]; then ln -s venv/bin/activate; fi && \
. ./activate && \
pip install maturin && \
CC=gcc maturin build -m wheel/Cargo.toml --release --strip --manylinux 2014 --features=openssl \
CC=gcc maturin build -m wheel/Cargo.toml --release --strip --manylinux 2_28 --features=openssl \
'
- name: Upload artifacts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
. ./activate
maturin build -m wheel/Cargo.toml --sdist -i python --release --strip --features=openssl
- name: Build Linux in manylinux2014 with maturin on Python ${{ matrix.python }}
- name: Build Linux in manylinux_2_28 with maturin on Python ${{ matrix.python }}
if: startsWith(matrix.os, 'ubuntu')
run: |
docker run --rm \
-v ${{ github.workspace }}:/ws --workdir=/ws \
quay.io/pypa/manylinux2014_x86_64 \
quay.io/pypa/manylinux_2_28_x86_64 \
bash -exc '\
curl -L https://sh.rustup.rs > rustup-init.sh && \
sh rustup-init.sh -y && \
Expand All @@ -80,7 +80,7 @@ jobs:
. /venv/bin/activate && \
pip install --upgrade pip && \
pip install maturin && \
CC=gcc maturin build -m wheel/Cargo.toml --release --strip --manylinux 2014 --features=openssl \
CC=gcc maturin build -m wheel/Cargo.toml --release --strip --manylinux 2_28 --features=openssl \
'
python -m venv venv
ln -s venv/bin/activate
Expand Down

0 comments on commit dfe8cdd

Please sign in to comment.