Skip to content

Commit 95eb684

Browse files
committed
Separate static and non-static runs of macos
1 parent 14e0b69 commit 95eb684

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/macosx.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ jobs:
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/
@@ -70,7 +64,15 @@ jobs:
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

0 commit comments

Comments
 (0)