Skip to content

Commit cccf993

Browse files
committed
Add logs to each manylinux container steps
1 parent f34f4b2 commit cccf993

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/manylinux.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,36 +66,44 @@ jobs:
6666
set -eu
6767
6868
# Step: Install system build dependencies (manylinux only)
69+
echo "== [container] Step: Install system build dependencies (manylinux only) =="
6970
case "$MANYLINUX_IMAGE" in
7071
manylinux*)
7172
yum install -y perl-core
7273
;;
7374
esac
7475
7576
# Step: Install python build dependencies
77+
echo "== [container] Step: Install python build dependencies =="
7678
/opt/python/${PY_ABI}/bin/pip install --upgrade pip setuptools wheel build setuptools_scm\>=8
7779
7880
# Step: Set environment variables
81+
echo "== [container] Step: Set environment variables =="
7982
PKGVER=$(/opt/python/${PY_ABI}/bin/python setup.py --version)
8083
echo "PKGVER=$PKGVER"
8184
8285
# Step: Build linux_x86_64 wheel
86+
echo "== [container] Step: Build linux_x86_64 wheel =="
8387
/opt/python/${PY_ABI}/bin/python -m build
8488
8589
# Step: Label manylinux wheel
90+
echo "== [container] Step: Label manylinux wheel =="
8691
ls -la dist/
8792
auditwheel show dist/xmlsec-${PKGVER}-${PY_ABI}-linux_x86_64.whl
8893
auditwheel repair dist/xmlsec-${PKGVER}-${PY_ABI}-linux_x86_64.whl
8994
ls -la wheelhouse/
9095
auditwheel show wheelhouse/xmlsec-${PKGVER}-${PY_ABI}-*${MANYLINUX_IMAGE}*.whl
9196
9297
# Step: Install test dependencies
98+
echo "== [container] Step: Install test dependencies =="
9399
/opt/python/${PY_ABI}/bin/pip install --upgrade -r requirements-test.txt
94100
/opt/python/${PY_ABI}/bin/pip install xmlsec --only-binary=xmlsec --no-index --find-links=wheelhouse/
95101
96102
# Step: Run tests
103+
echo "== [container] Step: Run tests =="
97104
/opt/python/${PY_ABI}/bin/pytest -v --color=yes
98105
99106
# Step: Fix mounted workspace file ownership on host
107+
echo "== [container] Step: Fix mounted workspace file ownership on host =="
100108
chown -R "${HOST_UID}:${HOST_GID}" dist wheelhouse build libs || true
101109
'

0 commit comments

Comments
 (0)