File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 5454 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5555 run : |
5656 export PKG_CONFIG_PATH="$(brew --prefix)/opt/libxml2/lib/pkgconfig"
57- # export PYXMLSEC_LIBXML2_VERSION="$(pkg-config --modversion libxml-2.0)"
58- echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}"
59- echo "libxml2 version from pkg-config: $(pkg-config --modversion libxml-2.0)"
60- echo "Working directory: $(pwd)"
61- echo "libs directory listing:"
62- ls -la libs || true
6357 export PYXMLSEC_LIBS_DIR="$PWD/libs"
6458 python -m build
6559 rm -rf build/
7064 echo "PKGVER=$(python setup.py --version)" >> $GITHUB_ENV
7165 echo "LLVM_PROFILE_FILE=pyxmlsec.profraw" >> $GITHUB_ENV
7266
73- - name : Install test dependencies
67+ - name : Install test dependencies (static only)
68+ if : matrix.static_deps == 'static'
69+ run : |
70+ pip install coverage --upgrade -r requirements-test.txt
71+ pip install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
72+
73+
74+ - name : Install test dependencies (non-static only)
75+ if : matrix.static_deps != 'static'
7476 run : |
7577 export PKG_CONFIG_PATH="$(brew --prefix)/opt/libxml2/lib/pkgconfig"
7678 pip install coverage --upgrade --no-binary=lxml -r requirements-test.txt
You can’t perform that action at this time.
0 commit comments