Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Help: Graphics Card in GitHub Action Docker Container #2088

Open
project-repo opened this issue Dec 10, 2023 · 0 comments
Open

CI Help: Graphics Card in GitHub Action Docker Container #2088

project-repo opened this issue Dec 10, 2023 · 0 comments

Comments

@project-repo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant