Author Topic: github action  (Read 578 times)

Offline jarod42

  • Multiple posting newcomer
  • *
  • Posts: 83
github action
« on: September 28, 2020, 06:50:53 pm »
Do you know how to set up a github action to use CB?

I got

> Error: Unable to initialize GTK+, is DISPLAY set properly?

when using

Code: [Select]
codeblocks --no-splash-screen --target=Release --build Project.workspace

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12821
    • Travis build status
Re: github action
« Reply #1 on: September 28, 2020, 08:56:27 pm »
You can't. Using the build system of cb on headless linux is not possible at the moment.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2842
Re: github action
« Reply #2 on: September 29, 2020, 04:22:33 pm »
Can you install some dummy x server? I have Xvfb on my headless server and it works (somehow, there are still some quirks)