Skip to content

Conversation

davepagurek
Copy link
Owner

Let's see if we can get WebGPU tests running on CI!

@davepagurek davepagurek force-pushed the webgpu-ci branch 7 times, most recently from fd8b796 to 0af6521 Compare September 14, 2025 18:54
@davepagurek davepagurek force-pushed the webgpu-ci branch 11 times, most recently from e8adede to 53668e3 Compare September 14, 2025 20:20
@davepagurek
Copy link
Owner Author

davepagurek commented Sep 14, 2025

ok it looks like it's working! some notes:

  • It needed to have some kind of real or fake interactive session -- it would work over ssh into the server, but not in github actions until I used xvfb-run
  • If the CI environment variable is present, webdriverio adds some chrome flags. Even if we're setting --headless=new in flags manually, we also have to add headless: false to the webdriverio config to make it not add different headless flags :')
  • We needed a few other flags, like --use-cmd-decoder=passthrough to get Chrome to use the real gpu and not try to use its seemingly currently nonfunctional software version

TODOs:

  • Remove excess logging that I needed for debugging the setup
  • Bring this into base processing/p5.js proper

@davepagurek
Copy link
Owner Author

Now I'm running this https://github.com/davepagurek/p5-ci-runner to spin up a new container for each test run to keep things isolated and secure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant