Skip to content

Commit 9fe3c5d

Browse files
committed
Simplify linuxbrew workflow
1 parent 88bc0ce commit 9fe3c5d

1 file changed

Lines changed: 1 addition & 40 deletions

File tree

.github/workflows/linuxbrew.yml

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -54,45 +54,6 @@ jobs:
5454
run: |
5555
python3 -m venv test_venv
5656
source test_venv/bin/activate
57-
pip3 install --upgrade --no-binary=lxml "lxml==6.0.4"
58-
pip3 install --upgrade -r requirements-test.txt
57+
pip3 install --upgrade --no-binary=lxml -r requirements-test.txt
5958
pip3 install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
60-
echo "PATH=$PATH"
61-
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
62-
echo "CPPFLAGS=$CPPFLAGS"
63-
echo "CFLAGS=$CFLAGS"
64-
echo "LDFLAGS=$LDFLAGS"
65-
echo "LIBRARY_PATH=$LIBRARY_PATH"
66-
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
67-
brew list --versions libxml2 libxslt libxmlsec1 openssl@3 pkg-config python@${{ matrix.python }}
68-
xml2-config --version || true
69-
xslt-config --version || true
70-
xmlsec1 --version || true
71-
pkg-config --modversion libxml-2.0 libxslt xmlsec1
72-
pkg-config --modversion openssl || true
73-
python3 - <<'PY'
74-
import lxml.etree
75-
print('lxml.LIBXML_VERSION', lxml.etree.LIBXML_VERSION)
76-
print('lxml.LIBXML_COMPILED_VERSION', lxml.etree.LIBXML_COMPILED_VERSION)
77-
print('lxml.LIBXSLT_VERSION', lxml.etree.LIBXSLT_VERSION)
78-
print('lxml.LIBXSLT_COMPILED_VERSION', lxml.etree.LIBXSLT_COMPILED_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-
python3 - <<'PY'
87-
import xmlsec
88-
print('xmlsec.__file__', xmlsec.__file__)
89-
print('xmlsec.get_libxml_version()', xmlsec.get_libxml_version())
90-
print('xmlsec.get_libxml_compiled_version()', xmlsec.get_libxml_compiled_version())
91-
print('xmlsec.get_libxmlsec_version()', xmlsec.get_libxmlsec_version())
92-
PY
93-
ldd "$(python3 - <<'PY'
94-
import xmlsec
95-
print(xmlsec.__file__)
96-
PY
97-
)"
9859
pytest -v --color=yes

0 commit comments

Comments
 (0)