Skip to content

Commit

Permalink
Switch Chrome backend back to swiftshader in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin committed Oct 6, 2022
1 parent e00c049 commit deeafdf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/integration/testem/testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,8 @@ const testemConfig = Object.assign({}, defaultTestemConfig);
if (process.env.RENDER) Object.assign(testemConfig, renderTestemConfig);

if (process.env.CI) {
// Set chrome flags for CircleCI to use llvmpipe driver (see https://github.com/mapbox/mapbox-gl-js/pull/10389).
const ciTestemConfig = setChromeFlags([ "--disable-backgrounding-occluded-windows", "--ignore-gpu-blocklist", "--use-gl=desktop" ]);
const ciTestemConfig = setChromeFlags([ "--disable-backgrounding-occluded-windows" ]);
Object.assign(testemConfig, ciTestemConfig);

} else if (process.env.RENDER && process.env.USE_ANGLE && ['metal', 'gl', 'vulkan', 'swiftshader', 'gles'].includes(process.env.USE_ANGLE)) {
// Allow setting chrome flag `--use-angle` for local development on render/query tests only.
// Search accepted values for `--use-angle` here: https://source.chromium.org/search?q=%22--use-angle%3D%22
Expand Down

0 comments on commit deeafdf

Please sign in to comment.