From bbb73ab76cbef7e242e474dce0edc6f84871cef3 Mon Sep 17 00:00:00 2001 From: Vadim Lebedev Date: Tue, 2 Aug 2022 13:18:07 +0200 Subject: [PATCH] Adding mini test step --- .github/workflows/build-wheels.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-wheels.yaml b/.github/workflows/build-wheels.yaml index ab081f2..2fe6bf8 100644 --- a/.github/workflows/build-wheels.yaml +++ b/.github/workflows/build-wheels.yaml @@ -66,11 +66,17 @@ jobs: auditwheel repair dist/*.whl python3 -m pip install --force-reinstall wheelhouse/*.whl + - name Minit test + run: | + strace -e open,openat python3 -c 'import libarchive; print(libarchive._libarchive.ARCHIVE_VERSION_STRING.split()[1])' \ + | tee strace.out + - name: version run: | export LD_LIBRARY_PATH=/usr/local/lib64/:/usr/local/lib:$LD_LIBRARY_PATH export LIBARCHIVE_PREFIX=/usr/local - echo "::set-output name=version::$(python3 -c 'import libarchive; print(libarchive._libarchive.ARCHIVE_VERSION_STRING.split()[1])')" + + echo "::set-output name=version::$(cd /; python3 -c 'import libarchive; print(libarchive._libarchive.ARCHIVE_VERSION_STRING.split()[1])')" id: version - uses: actions/upload-artifact@v3