Comments (1)
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)
- Segfault random time after window creation HOT 6
- upgrade glfw to version 3.4+ HOT 4
- ESM support HOT 4
- Cannot install HOT 7
- Mac 10.14 Mojave error HOT 4
- Vulkan API support? HOT 2
- Missing 2nd parameter (value) in call to setInputMode window.js HOT 4
- On retina display all examples is smaller by half HOT 10
- Event KeyUp and KeyDown missing some values HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glfw-raub.