Skip to content

Commit

Permalink
dev workflow manylinux adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernaciak committed Sep 13, 2024
1 parent ba381ce commit 23029d6
Showing 1 changed file with 44 additions and 3 deletions.
47 changes: 44 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ jobs:
platform:
- target: "aarch64-unknown-linux-gnu"
arch: aarch64
- target: "armv7-unknown-linux-gnueabihf"
arch: armv7
# - target: "armv7-unknown-linux-gnueabihf"
# arch: armv7
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -239,7 +239,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
manylinux: "auto"
manylinux: "2_28"
args: --locked --release -j $(nproc) -i python${{ matrix.python-versions }} --out dist
sccache: 'true'
docker-options: -e OPENSSL_DIR=/usr -e OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu -e OPENSSL_INCLUDE_DIR=/usr/include/openssl
Expand Down Expand Up @@ -283,7 +283,48 @@ jobs:
name: artifacts-manylinux-${{ matrix.platform.target }}-${{ matrix.python-versions }}
path: dist


linux-arm-armv7:
#needs: tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-versions: ["3.9", "3.10", "3.11", "3.12"]
platform:
# - target: "aarch64-unknown-linux-gnu"
# arch: aarch64
- target: "armv7-unknown-linux-gnueabihf"
arch: armv7
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-versions }}
- run: pip install uv

- name: Build Wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
manylinux: "auto"
args: --locked --release -j $(nproc) -i python${{ matrix.python-versions }} --out dist
sccache: 'true'
docker-options: -e OPENSSL_DIR=/usr -e OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu -e OPENSSL_INCLUDE_DIR=/usr/include/openssl
before-script-linux: |
apt update
apt install -y libssl-dev
- name: Upload Wheels
uses: actions/upload-artifact@v4
with:
name: artifacts-manylinux-${{ matrix.platform.target }}-${{ matrix.python-versions }}
path: dist


linux-powerpc:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 23029d6

Please sign in to comment.