Giter Site home page Giter Site logo

Comments (1)

raub avatar raub commented on June 18, 2024

Well that's because GitHub Actions are run on headless environments that don't even know what's a "window" anyway. Therefore you can't create one.

I guess your tests work on Ubuntu because they have enabled something like XVFB by default. I've previously set it up manually on Travis, and now on GitHub I also use XVFB action. Here's my example: https://github.com/node-3d/glfw-raub/blob/master/.github/workflows/validate.yml#L33 - although it may be not needed anymore, as you have the tests working without it.

I don't know of a similar solution for OSX. So, probably, the only way is a self-hosted runner on a real machine. If you can afford dedicating it.

On Windows, the solution might be something like this library: https://fdossena.com/?p=mesa/index.frag - however, there is no straightforward way to use it. For now, I decided to stick with the working Ubuntu runs. If you have any luck with the other platforms, it would be interesting to see.

from glfw-raub.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.