Update WebDriver to use Page

Don't use pre-built snapshot for wpt action (the snapshot needs the WebDriver
added, which is not normally added). Instead, rely on runtime snapshot creation
(this just adds a bit of startup time and peak memory, neither or which should
be an issue for WPT runs).
This commit is contained in:
Karl Seguin committed 2026-04-24 17:33:16 +08:00
1 parent 3f0cc7a0df
commit 802ae55cc1
2 files changed
+4 -9

No files matched your search

+1 -6
View File
@@ -36,13 +36,8 @@ jobs:
os: ${{env.OS}}
arch: ${{env.ARCH}}
- uses: ./.github/actions/v8-snapshot
with:
os: ${{env.OS}}
arch: ${{env.ARCH}}
- name: zig build release
run: zig build -Dsnapshot_path=../../snapshot.bin -Dprebuilt_v8_path=v8/libc_v8.a -Doptimize=ReleaseFast -Dcpu=generic
run: zig build -Dwpt_extensions -Dprebuilt_v8_path=v8/libc_v8.a -Doptimize=ReleaseFast -Dcpu=generic
- name: upload artifact
uses: actions/upload-artifact@v7