Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Add /dev/dri permission debug
Browse files Browse the repository at this point in the history
  • Loading branch information
leshikus committed Oct 12, 2023
1 parent a4fd705 commit 15703a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
devices=$(find /dev -type c -name 'nvidia*' | awk '{ print " --device "$1":"$1 }')
test ! -d /dev/dri || {
ls -l /dev/dri
device="$devices --device /dev/dri:/dev/dri"
getent group render | awk -F : '{ print "RUN groupadd -g "$3" render && usermod -a -G render ghrunner" }' >>Dockerfile
}
Expand Down

0 comments on commit 15703a5

Please sign in to comment.