Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/scripts/manylinux_build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,26 @@ case "$MANYLINUX_IMAGE" in
yum install -y perl-core
;;
esac
# libiconv >= 1.19 needs GNU make >= 4.0 (po/Makefile uses '!='); CentOS 7 ships 3.82.
case "$MANYLINUX_IMAGE" in
manylinux2014_*)
yum install -y devtoolset-10-make
make --version | head -n 1
;;
esac

# Step: Build lxml from source with static deps (temporary)
# TODO: remove once lxml publishes cp315 manylinux2014_x86_64 wheels.
echo "== [container] Step: Configure lxml static build (cp315 manylinux2014 only) =="
case "$PY_ABI/$MANYLINUX_IMAGE" in
cp315-*/manylinux2014_*)
export STATIC_DEPS=true
export LIBXML2_VERSION="${LIBXML2_VERSION:?}" LIBXSLT_VERSION="${LIBXSLT_VERSION:?}"
# lxml links its static deps into a shared extension, so they need -fPIC.
export CFLAGS="${CFLAGS:+$CFLAGS }-fPIC"
echo "STATIC_DEPS=$STATIC_DEPS LIBXML2_VERSION=$LIBXML2_VERSION LIBXSLT_VERSION=$LIBXSLT_VERSION CFLAGS=$CFLAGS"
;;
esac

# Step: Install python build dependencies
echo "== [container] Step: Install python build dependencies =="
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/linuxbrew.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: linuxbrew
on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'master' }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/macosx.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: macOS
on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'master' }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/manylinux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: manylinux
on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'master' }}
Expand Down Expand Up @@ -61,6 +64,8 @@ jobs:
-e PYXMLSEC_STATIC_DEPS \
-e PY_ABI \
-e MANYLINUX_IMAGE \
-e LIBXML2_VERSION \
-e LIBXSLT_VERSION \
-e HOST_UID="$(id -u)" \
-e HOST_GID="$(id -g)" \
"quay.io/pypa/${MANYLINUX_IMAGE}" \
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/sdist.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: sdist
on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'master' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
# │ │ │ │ │
- cron: "42 3 * * 4"
push:
branches: [master]
pull_request:
workflow_dispatch:

Expand Down
Loading