diff --git a/.github/workflows/build_linux_wheels.yml b/.github/workflows/build_linux_wheels.yml index 1eff553..ca1733d 100644 --- a/.github/workflows/build_linux_wheels.yml +++ b/.github/workflows/build_linux_wheels.yml @@ -4,7 +4,6 @@ on: branches: - main - pypi-dev - - ci-dev paths: - '.github/workflows/build_linux_wheels.yml' - 'python-webrtc/cpp/**' @@ -28,14 +27,11 @@ jobs: CIBW_ENVIRONMENT_PASS_LINUX: MANYLINUX_INSIDE CIBW_ARCHS: x86_64 CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7" - # extended manylinux image with updated GCC (7.5) + # extended manylinux image with updated GCC (7.5) and patched CPython + # about gcc: https://github.com/pypa/manylinux/issues/1012 + # about patch: https://github.com/pypa/manylinux/issues/1264 CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/marshalx/wrtc/manylinux_2_24_x86_64:latest - CIBW_BUILD: cp39-manylinux_* cp310-manylinux_* - # TODO uncomment after applied patches for cpython in manylinux - # there is no cp37, cp38 for now - # ref: https://github.com/pypa/manylinux/issues/1264 -# CIBW_BUILD: cp3*-manylinux_* -# CIBW_SKIP: cp36-* + CIBW_BUILD: cp3*-manylinux_* CIBW_TEST_COMMAND: python -c "import wrtc; wrtc.ping()" - name: Upload artifacts. diff --git a/.github/workflows/build_macos_wheels.yml b/.github/workflows/build_macos_wheels.yml index a1c9170..c9138f1 100644 --- a/.github/workflows/build_macos_wheels.yml +++ b/.github/workflows/build_macos_wheels.yml @@ -4,7 +4,6 @@ on: branches: - main - pypi-dev - - ci-dev paths: - '.github/workflows/build_macos_wheels.yml' - 'python-webrtc/cpp/**' diff --git a/.github/workflows/build_manylinux.yml b/.github/workflows/build_manylinux.yml index 6ff9bc8..8be8eb2 100644 --- a/.github/workflows/build_manylinux.yml +++ b/.github/workflows/build_manylinux.yml @@ -18,7 +18,7 @@ jobs: matrix: arch: [ "x86_64", - "aarch64", +# "aarch64", # it's not possible to do on GHA because there is time limit (more then 6 hours under QEMU) ] steps: diff --git a/build/Dockerfile b/build/Dockerfile index 0271533..74e1b60 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,5 +1,6 @@ ARG MANYLINUX_ARCH -FROM quay.io/pypa/manylinux_2_24_$MANYLINUX_ARCH AS builder +# celf pathed cpython https://github.com/MarshalX/manylinux-cpython-pathes +FROM quay.io/pypa_patched/manylinux_2_24_$MANYLINUX_ARCH AS builder RUN apt-get update && apt-get install -y xz-utils libxml2 wget build-essential