Skip to content

Commit 7927bcc

Browse files
committed
Add logs to linuxbrew workflow for debugging
1 parent b54309c commit 7927bcc

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/linuxbrew.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,38 @@ jobs:
5454
source test_venv/bin/activate
5555
pip3 install --upgrade --no-binary=lxml -r requirements-test.txt
5656
pip3 install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
57+
echo "PATH=$PATH"
58+
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
59+
echo "CPPFLAGS=$CPPFLAGS"
60+
echo "CFLAGS=$CFLAGS"
61+
echo "LDFLAGS=$LDFLAGS"
62+
brew list --versions libxml2 libxslt libxmlsec1 openssl@3 pkg-config python@${{ matrix.python }}
63+
xml2-config --version || true
64+
xslt-config --version || true
65+
xmlsec1 --version || true
66+
pkg-config --modversion libxml-2.0 libxslt xmlsec1
67+
pkg-config --modversion openssl || true
68+
python3 - <<'PY'
69+
import lxml.etree
70+
import xmlsec
71+
print('lxml.LIBXML_VERSION', lxml.etree.LIBXML_VERSION)
72+
print('lxml.LIBXML_COMPILED_VERSION', lxml.etree.LIBXML_COMPILED_VERSION)
73+
print('lxml.LIBXSLT_VERSION', lxml.etree.LIBXSLT_VERSION)
74+
print('lxml.LIBXSLT_COMPILED_VERSION', lxml.etree.LIBXSLT_COMPILED_VERSION)
75+
print('xmlsec.__file__', xmlsec.__file__)
76+
print('xmlsec.get_libxml_version()', xmlsec.get_libxml_version())
77+
print('xmlsec.get_libxml_compiled_version()', xmlsec.get_libxml_compiled_version())
78+
print('xmlsec.get_libxmlsec_version()', xmlsec.get_libxmlsec_version())
79+
print('lxml.etree.__file__', lxml.etree.__file__)
80+
PY
81+
ldd "$(python3 - <<'PY'
82+
import lxml.etree
83+
print(lxml.etree.__file__)
84+
PY
85+
)"
86+
ldd "$(python3 - <<'PY'
87+
import xmlsec
88+
print(xmlsec.__file__)
89+
PY
90+
)"
5791
pytest -v --color=yes

0 commit comments

Comments
 (0)