Skip to content

Handle unresolved relocations at link time #439

Handle unresolved relocations at link time

Handle unresolved relocations at link time #439

Workflow file for this run

name: manylinux
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'master' }}
jobs:
manylinux:
runs-on: ubuntu-latest
strategy:
matrix:
python-abi: [cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312, cp313-cp313]
image:
- manylinux2014_x86_64
- manylinux_2_28_x86_64
- musllinux_1_2_x86_64
container: quay.io/pypa/${{ matrix.image }}
steps:
- uses: actions/checkout@v1
- name: Install python build dependencies
run: |
# https://github.com/actions/runner/issues/2033
chown -R $(id -u):$(id -g) $PWD
/opt/python/${{ matrix.python-abi }}/bin/pip install --upgrade pip setuptools wheel build
- name: Install system build dependencies (manylinux)
run: |
yum install -y perl-core
if: contains(matrix.image, 'manylinux')
- name: Set environment variables
shell: bash
run: |
echo "PKGVER=$(/opt/python/${{ matrix.python-abi }}/bin/python setup.py --version)" >> $GITHUB_ENV
- name: Build linux_x86_64 wheel
env:
PYXMLSEC_STATIC_DEPS: true
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
/opt/python/${{ matrix.python-abi }}/bin/python -m build
- name: Label manylinux wheel
run: |
ls -la dist/
auditwheel show dist/xmlsec-${{ env.PKGVER }}-${{ matrix.python-abi }}-linux_x86_64.whl
auditwheel repair dist/xmlsec-${{ env.PKGVER }}-${{ matrix.python-abi }}-linux_x86_64.whl
ls -la wheelhouse/
auditwheel show wheelhouse/xmlsec-${{ env.PKGVER }}-${{ matrix.python-abi }}-*${{ matrix.image }}*.whl
- name: Install test dependencies
run: |
/opt/python/${{ matrix.python-abi }}/bin/pip install --upgrade -r requirements-test.txt
/opt/python/${{ matrix.python-abi }}/bin/pip install xmlsec --only-binary=xmlsec --no-index --find-links=wheelhouse/
- name: Run tests
run: |
/opt/python/${{ matrix.python-abi }}/bin/pytest -v --color=yes