Link cuda to nix ?

This commit is contained in:
Nicolas Patry 2024-09-12 15:38:57 +02:00
parent 8e7c7c61f1
commit 60db294f9a
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -33,6 +33,9 @@ jobs:
- name: Build
run: nix develop .#test --command echo "Ok"
- name: Python tests.
run: nix develop .#test --command python -m pytest -svvx integration-tests/
run:
sudo mkdir -p /run/opengl-driver/lib
sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/
nix develop .#test --command python -m pytest -svvx integration-tests/
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}