CI Help: Graphics Card in GitHub Action Docker Container
project-repo opened this issue · 0 comments
Hi best practices badge team
We are currently trying to achieve a passing badge and want to set up a github
ci action for our project. Unfortunately we ran into some issues and would
like to ask whether you could help us out. https://github.com/project-repo/cagebreak
https://www.bestpractices.dev/en/projects/6532
When trying to run our (almost laughably minimal) tests inside the
docker container of a github action, we realized that there is no
graphics card available within the container:
Error: 0.000 [ERROR] [render/wlr_renderer.c:252] drmGetDevices2 failed: No such file or directory
Error: 0.000 [ERROR] [../cagebreak.c:606] Unable to open Wayland socket: No such file or directory
(Our project is graphical but
by no means needs a high-end graphics card, some emulation on a cpu or
something similar would be completely sufficient.) Since you have much more
expertise than we do in judging how to test
open source projects, we wanted to ask whether you have any ideas on getting this to
run, or any resources you could point us towards? (Initial search results
did not turn up anything useful for us. In case you would like to take a
look at the specific ci workflow, it can be found here.)
cheers
project-repo