mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 08:24:43 +01:00
Merge pull request #271 from odidev/odidev_pycapnp
Add linux aarch64 wheel build support
This commit is contained in:
commit
5dade41aeb
1 changed files with 36 additions and 0 deletions
36
.github/workflows/manylinux2010.yml
vendored
36
.github/workflows/manylinux2010.yml
vendored
|
@ -37,3 +37,39 @@ jobs:
|
|||
with:
|
||||
name: manylinux2010_dist
|
||||
path: wheelhouse
|
||||
|
||||
manylinux2014:
|
||||
name: "manylinux2014( ${{ matrix.python-version }}, quay.io/pypa/manylinux2014_aarch64)"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['cp37-cp37m', 'cp38-cp38', 'cp39-cp39']
|
||||
fail-fast: false
|
||||
env:
|
||||
py: /opt/python/${{ matrix.python-version }}/bin/python
|
||||
img: quay.io/pypa/manylinux2014_aarch64
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up QEMU
|
||||
id: qemu
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Building pycapnp and packaging
|
||||
run: |
|
||||
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \
|
||||
${{ env.img }} \
|
||||
bash -exc '${{ env.py }} -m venv .env && \
|
||||
source .env/bin/activate && \
|
||||
echo "Install Dependencies" && \
|
||||
python -m pip install -r requirements.txt && \
|
||||
python -m pip install auditwheel && \
|
||||
echo "Build pycapnp and install" && \
|
||||
python setup.py build && \
|
||||
echo "Packaging" && \
|
||||
python setup.py bdist_wheel && \
|
||||
python setup.py sdist && \
|
||||
auditwheel repair dist/*linux_*.whl && \
|
||||
deactivate'
|
||||
- uses: actions/upload-artifact@v1.0.0
|
||||
with:
|
||||
name: manylinux2014_dist
|
||||
path: wheelhouse
|
||||
|
|
Loading…
Add table
Reference in a new issue