| @@ -66,21 +66,11 @@ jobs: | |||||
| auditwheel repair dist/*.whl | auditwheel repair dist/*.whl | ||||
| python3 -m pip install --force-reinstall wheelhouse/*.whl | python3 -m pip install --force-reinstall wheelhouse/*.whl | ||||
| - name: Mini test | |||||
| run: | | |||||
| cd /tmp | |||||
| python3 -c 'import libarchive; print(libarchive.version())' \ | |||||
| | tee strace.out | |||||
| find / -name 'libarchive*.so' | xargs ls -l | |||||
| find / -name 'libarchive*.so' | xargs strings | grep 'libarchive' | |||||
| - name: version | - name: version | ||||
| run: | | run: | | ||||
| export LD_LIBRARY_PATH=/usr/local/lib64/:/usr/local/lib:$LD_LIBRARY_PATH | export LD_LIBRARY_PATH=/usr/local/lib64/:/usr/local/lib:$LD_LIBRARY_PATH | ||||
| export LIBARCHIVE_PREFIX=/usr/local | export LIBARCHIVE_PREFIX=/usr/local | ||||
| echo "::set-output name=version::$(cd /; python3 -c 'import libarchive; print(libarchive._libarchive.ARCHIVE_VERSION_STRING.split()[1])')" | |||||
| echo "::set-output name=version::$(cd /tmp; python3 -c 'import libarchive; print(libarchive.version()')" | |||||
| id: version | id: version | ||||
| - uses: actions/upload-artifact@v3 | - uses: actions/upload-artifact@v3 | ||||