Adding manylinux2010 github action
- Validates that the manylinux2010 environment can build pycapnp - Handle lib and lib64 cases - Has patch for aligned_alloc symbol (not available prior to glibc 2.16) https://github.com/capnproto/capnproto/issues/743 - Fixes #197 - Should be ready to prepare a v1.0.0b1 release
This commit is contained in:
26
.github/workflows/manylinux2010.yml
vendored
Normal file
26
.github/workflows/manylinux2010.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: manylinux2010
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
manylinux2010:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container: ${{ matrix.container-image }}
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['cp37-cp37m', 'cp38-cp38']
|
||||
container-image: ['quay.io/pypa/manylinux2010_x86_64', 'quay.io/pypa/manylinux2010_i686']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
# capnproto build requires cmake 3+, CentOS 6 (manylinux2010) defaults to cmake 2.8
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
yum install -y cmake3 ninja-build
|
||||
ln -sf /usr/bin/cmake3 /usr/local/bin/cmake
|
||||
ln -s /usr/bin/ninja-build /usr/local/bin/ninja
|
||||
/opt/python/${{ matrix.python-version }}/bin/python -m pip install -r requirements.txt
|
||||
- name: Build pycapnp and install
|
||||
run: |
|
||||
/opt/python/${{ matrix.python-version }}/bin/python setup.py build
|
||||
Reference in New Issue
Block a user