Skip to content

Commit 0de39d1

Browse files
authored
Merge pull request #11 from anthropics/yilei/manylinux
Build manylinux_2_17 wheels.
2 parents d4cbeba + e7b114b commit 0de39d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-wheels.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ jobs:
5151
run: pip install maturin
5252

5353
- name: Build wheel
54-
run: maturin build --release --strip --target ${{ matrix.target }}
54+
run: |
55+
if [[ "${{ matrix.platform }}" == manylinux-* ]]; then
56+
docker run --rm -v $(pwd):/io ghcr.io/pyo3/maturin:latest build --release --strip --target ${{ matrix.target }} --manylinux 2_17 -i python${{ matrix.python-version }}
57+
else
58+
maturin build --release --strip --target ${{ matrix.target }}
59+
fi
5560
5661
- name: Upload wheel artifact
5762
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)