Closed petr-pokorny-1 closed 3 years ago
afaik, github’s macos bot doesn’t support metal (metal needs real gpu) so you cannot initialize MetalANGLE on the bot. Unless Apple implement software rasterizer for their metal API in future.
But i might try to enable fallback to use OpenGL internally in MetalANGLE if you really need rendering unit tests on CI server.
I set up a runner on my Mac and tried to launch GitHub action workflow (with unit tests) using this runner but I am getting the same exception. It is interesting because when I run the same tests from Xcode, no exception is thrown. I will try to find more information.
My apologies- I found error in my settings. When i fixed it and run it again, everything worked correctly on self-hosted runner. That confirms github bots dont have gpu. We will use self-hosted runner as a workaround. Thanks for help!
We have successfully used MetalAngle in MapLibre iOS library. We have problem with our unit tests which are using MGLKit - if we run them locally on macos, they pass but of we run them on GitHub macos runner (tried 10.15 and 11.0) they fail with exception
Failed To call eglInitialize()
- the related code in MetalAngle is hereIs this a known problem? Any hints what needs to be done?