File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,10 +68,13 @@ jobs:
6868 os : ubuntu-latest
6969 arch : x86_64
7070 pyarch : x64
71- asset : " liblsl-${LSL_RELEASE}-noble_amd64.tar.gz "
71+ asset : " liblsl-${LSL_RELEASE}-noble_amd64.deb "
7272 extract : |
73- tar -xzf liblsl.tar.gz
74- cp liblsl-${LSL_RELEASE}-noble_amd64/lib/liblsl.so* src/pylsl/lib/
73+ sudo apt-get update && sudo apt-get install -y libpugixml1v5
74+ ar x liblsl.deb
75+ tar -xf data.tar.* --wildcards '*/liblsl.so*'
76+ cp ./usr/lib/liblsl.so* src/pylsl/lib/
77+ repair : true
7578 steps :
7679 - uses : actions/checkout@v4
7780 with :
8588 curl -L "${LSL_RELEASE_URL}/${ASSET}" -o xcframework.zip
8689 elif [[ "$ASSET" == *.zip ]]; then
8790 curl -L "${LSL_RELEASE_URL}/${ASSET}" -o liblsl.zip
91+ elif [[ "$ASSET" == *.deb ]]; then
92+ curl -L "${LSL_RELEASE_URL}/${ASSET}" -o liblsl.deb
8893 else
8994 curl -L "${LSL_RELEASE_URL}/${ASSET}" -o liblsl.tar.gz
9095 fi
@@ -109,6 +114,13 @@ jobs:
109114 - name : Build wheel
110115 run : uv build --wheel
111116
117+ - name : Repair wheel (Linux)
118+ if : matrix.config.repair
119+ run : |
120+ pip install auditwheel patchelf
121+ auditwheel repair dist/*.whl -w dist/
122+ rm dist/*-none-any.whl
123+
112124 - name : Upload wheels
113125 uses : actions/upload-artifact@v4
114126 with :
You can’t perform that action at this time.
0 commit comments