-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screenshots for CI on MacOS #19120
Comments
If I use However, git still shows a diff so the result is not the same as before. Adding
Except of |
If diff not big enough all is ok. Here some another flags that modify render:
|
|
@Mugen87 intresing! I probably just add |
AFAIK, angle is GPU and swiftshader is CPU. If we want to avoid GPU bugs, we may want to go with |
Wow, I am not thought that we can do it without GPU.
Also we have all platforms inside CI and can check script with one button. |
Description of the problem
OS
Right now all contributions in Three.js checked with regression tests. If you make a new PR you should also update screenshot in order to simplify code reviews. But current screenshot maker not works in MacOS, and somebody need to create screenshots on Windows or Linux for those users. This is not handy at all. If you have MacBook can you help me to fix CI script for MacOS?
Solution
Try to change flags to
--use-gl=swiftshader
in file belowthree.js/test/e2e/puppeteer.js
Line 60 in 47e1e3a
or add some another, like
--disable-setuid-sandbox
and check what gives this commandright now it produces black images on MacOS.
The text was updated successfully, but these errors were encountered: