Installation of XQuartz Not Found #25418
-
Hello, I am running a workflow on GitHub Actions and I am looking to run some R code using a package called “rayshader” which requires something called “XQuartz” to be installed. I am able to install XQuartz successfully using the command:
The install seems to work based on the results I’m seeing: But when the code gets to the step that needs XQuartz, I am getting the following error:
Thoughts on why that may be the case? I have a similar step where I need to install pandoc through brew and that works as expected and is found when I run the R command that requires it later on (removed from code for simplicity but that one does work as expected when running my R code and is found). You can find the run from the screenshots above here: https://github.com/ries9112/XQuartz-Test/runs/1306009115?check_suite_focus=true Here is a simplified .yml file that runs the workflow and reproduces my issue:
Any thoughts on getting this to work? Any help would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
ries9112:
This suggests that the tool needs a graphical environment to run, which isn’t present on the Github hosted runners. On Linux I’d probably use Xdummy or a VNC server to provide one, I’m not sure what options you have on macOS. |
Beta Was this translation helpful? Give feedback.
-
I guess what I’m looking to do isn’t currently possible, that’s unfortunate but makes sense, thank you for the response. Will accept it as the solution unless someone has any other ideas. |
Beta Was this translation helpful? Give feedback.
This suggests that the tool needs a graphical environment to run, which isn’t present on the Github hosted runners. On Linux I’d probably use Xdummy or a VNC server to provide one, I’m not sure what options you have on macOS.