missing lib.

This commit is contained in:
Nicolas Patry 2024-09-16 11:22:17 +02:00
parent 332e42f59a
commit 1a6b9926f6
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ jobs:
- name: Python tests.
run: |
sudo mkdir -p /run/opengl-driver/lib/
export NVIDIA=$(nix build --print-out-paths .#nvidia-driver)
export NVIDIA=$(nix build --print-out-paths .#nvidia-driver)/lib/
sudo find $NVIDIA . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
sudo find $NVIDIA . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
nix develop .#test --command pytest -svv integration-tests/ --release
nix develop .#test --command pytest -svvx integration-tests/ --release
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}