Skip to content

Run WebGPU tests on self-hosted runner#2

Open
davepagurek wants to merge 9 commits intowebgpufrom
webgpu-ci
Open

Run WebGPU tests on self-hosted runner#2
davepagurek wants to merge 9 commits intowebgpufrom
webgpu-ci

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

davepagurek added a commit that referenced this pull request Oct 20, 2025
* Fixed loop variable in createFileInput() docs (dom.js)

* Bump serialize-javascript and mocha

Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 6.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.


Updates `serialize-javascript` from 6.0.0 to 6.0.2
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](yahoo/serialize-javascript@v6.0.0...v6.0.2)

Updates `mocha` from 10.2.0 to 10.8.2
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](mochajs/mocha@v10.2.0...v10.8.2)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump elliptic from 6.6.0 to 6.6.1

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.6.0 to 6.6.1.
- [Commits](indutny/elliptic@v6.6.0...v6.6.1)

---
updated-dependencies:
- dependency-name: elliptic
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* added instance of video in callback

* Revert "fix: push() ignoring the ColorMode processing#7402"

* Fix typos

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* Add @dpanshug for doc

* Add stewards list and updating action

* Udpate stewardship guidelines

* Update steward_guidelines.md

* Update stewards.yml

* Update contributor_docs/steward_guidelines.md

Co-authored-by: Dave Pagurek <dave@davepagurek.com>

* Update contributor_docs/steward_guidelines.md

Co-authored-by: Kenneth Lim <hello@limzykenneth.com>

* Update contributor_docs/steward_guidelines.md

Co-authored-by: Kenneth Lim <hello@limzykenneth.com>

* Clarified to the stewardship responsibilities list

* Update reference.js

* Update reference.js.map

* Update books.xml

* Update error_helpers.js

* Update sketch.js

* Update sketch.js

* Update p5.Table.js

* Update p5.Image.js

* Update pixels.js

* Remove generated reference.js.map from PR

* Restore generated file to match upstream main

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* Fixes in guideline and new stewards

* Add onboarding to steward guideline

* 1.11.8

* Clean up stewards table generation

* Update issue labeler to include new steward areas

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* Respect p5.disableFriendlyErrors

Respect `p5.disableFriendlyErrors` setting when overriding p5 global variables

* Update stewards-update.yml to fix typo and include token

* Added p5.js-website accessibility steward stewards.yml

Adding @coseeian community as Web Accessibility Stewards for the p5.js-website

* Enable workflow_dispatch trigger on stewards table update

* Update stewards-update.yml to only make PR with README

* Update README table from stewards.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Andrew McWhae <andrew.mcwhae@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Soubhagya Mohapatra <ssm.allrounder@gmail.com>
Co-authored-by: kit <1304340+ksen0@users.noreply.github.com>
Co-authored-by: omahs <73983677+omahs@users.noreply.github.com>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: raclim <43053081+raclim@users.noreply.github.com>
Co-authored-by: Perminder Singh <127239756+perminder-17@users.noreply.github.com>
Co-authored-by: ksen0 <katie.kuksenok@gmail.com>
Co-authored-by: Dave Pagurek <dave@davepagurek.com>
Co-authored-by: Kenneth Lim <hello@limzykenneth.com>
Co-authored-by: sukrucildirr <sukrucildirr@gmail.com>
Co-authored-by: Quinton Ashley <quinton-ashley@users.noreply.github.com>
Co-authored-by: ksen0 <ksen0@users.noreply.github.com>
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

Comments