File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 2929 export CFLAGS="-fprofile-instr-generate -fcoverage-mapping -I${OPENSSL_PREFIX}/include"
3030 export LDFLAGS="-fprofile-instr-generate -fcoverage-mapping -L${OPENSSL_PREFIX}/lib"
3131 export PKG_CONFIG_PATH="$(brew --prefix)/opt/libxml2/lib/pkgconfig:${OPENSSL_PREFIX}/lib/pkgconfig"
32- pip install --no-binary "setuptools_scm[toml]>=3.4" "pkgconfig>=1.5.1" "lxml>=3.8,!=4.7.0"
32+ pip install "setuptools_scm[toml]>=3.4" "pkgconfig>=1.5.1" --no-binary "lxml>=3.8,!=4.7.0"
3333 python -m build --no-isolation
3434 rm -rf build/
3535 - name : Set environment variables
4141 run : |
4242 export LIBXML2_DIR="$(brew --prefix)/opt/libxml2"
4343 export PKG_CONFIG_PATH="$(brew --prefix)/opt/libxml2/lib/pkgconfig:$(brew --prefix openssl@1.1)/lib/pkgconfig"
44- pip install coverage --upgrade --no-binary - r requirements-test.txt
44+ pip install coverage --upgrade -r requirements-test.txt
4545 pip install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
4646 echo "PYXMLSEC_LIBFILE=$(python -c 'import xmlsec; print(xmlsec.__file__)')" >> $GITHUB_ENV
4747 - name : Run tests
Original file line number Diff line number Diff line change 3939 export LD_LIBRARY_PATH=/usr/local/openssl/lib:$LD_LIBRARY_PATH
4040 export PKG_CONFIG_PATH=/usr/local/openssl/lib/pkgconfig:$PKG_CONFIG_PATH
4141 ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl
42- cd ..
43- export PKG_CONFIG_PATH=/usr/local/openssl/lib/pkgconfig:$PKG_CONFIG_PATH
44- export LD_LIBRARY_PATH=/usr/local/openssl/lib:$LD_LIBRARY_PATH
45- # 2. Build updated xmlsec1 (1.3.7) using the updated OpenSSL
46- wget https://github.com/lsh123/xmlsec/releases/download/1.3.7/xmlsec1-1.3.7.tar.gz
47- tar xzf xmlsec1-1.3.7.tar.gz
48- cd xmlsec1-1.3.7
49- ./configure --with-openssl --prefix=/usr/local
50- make -j$(nproc)
51- make install
5242 ldconfig
5343 - name : Set environment variables
5444 shell : bash
You can’t perform that action at this time.
0 commit comments