Skip to content

Commit

Permalink
Separate Python 3.7 build workflow (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino authored Oct 10, 2024
1 parent 573d5f0 commit 38c2ba4
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion .github/workflows/deploy-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,45 @@ on:
- published

jobs:
build-linux-py3:
build-linux-py3-legacy:
runs-on: ubuntu-latest
strategy:
matrix:
wheel:
- cp37-manylinux
- cp37-musllinux

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
with:
persist-credentials: false
fetch-depth: 0

- name: Setup QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # 3.0.0

- name: Build Wheels
uses: pypa/cibuildwheel@8d945475ac4b1aac4ae08b2fd27db9917158b6ce # 2.17.0
env:
CIBW_PLATFORM: linux
CIBW_BUILD: "${{ matrix.wheel }}*"
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ENVIRONMENT: "LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/usr/local/lib64:/usr/local/lib"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "PYTHONPATH={project}/tests pytest {project}/tests/agent_unittests -vx"

- name: Upload Artifacts
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # 4.3.1
with:
name: ${{ github.job }}-${{ matrix.wheel }}
path: ./wheelhouse/*.whl
retention-days: 1

build-linux-py3:
runs-on: ubuntu-latest
strategy:
matrix:
wheel:
- cp38-manylinux
- cp38-musllinux
- cp39-manylinux
Expand Down Expand Up @@ -102,6 +134,7 @@ jobs:
runs-on: ubuntu-latest

needs:
- build-linux-py3-legacy
- build-linux-py3
- build-sdist

Expand Down

0 comments on commit 38c2ba4

Please sign in to comment.