@@ -485,6 +485,66 @@ jobs:
485
485
timeout-minutes : 20
486
486
run : node ./tests/wpt-harness/run-wpt.mjs --starlingmonkey -vv
487
487
488
+ starlingmonkey-run_wpt-weval :
489
+ concurrency :
490
+ group : ${{ github.head_ref }}-${{ github.workflow}}-starlingmonkey-run_wpt-weval
491
+ cancel-in-progress : true
492
+ if : github.ref != 'refs/heads/main'
493
+ name : Run Web Platform Tests (starlingmonkey weval)
494
+ needs : [starlingmonkey-build, ensure_cargo_installs]
495
+ runs-on : ubuntu-latest
496
+ steps :
497
+ - uses : actions/checkout@v3
498
+ with :
499
+ submodules : true
500
+ - uses : actions/setup-node@v3
501
+ with :
502
+ node-version : 20
503
+ cache : ' yarn'
504
+
505
+ - name : Download Engine
506
+ uses : actions/download-artifact@v3
507
+ with :
508
+ name : starling-weval
509
+ - name : Download Engine Weval Cache
510
+ uses : actions/download-artifact@v3
511
+ with :
512
+ name : starling-weval-ic-cache
513
+
514
+ - name : Restore Viceroy from cache
515
+ uses : actions/cache@v3
516
+ with :
517
+ path : " /home/runner/.cargo/bin/viceroy"
518
+ key : crate-cache-viceroy-${{ env.viceroy_version }}
519
+
520
+ - name : Restore wasm-tools from cache
521
+ uses : actions/cache@v3
522
+ id : wasm-tools
523
+ with :
524
+ path : " /home/runner/.cargo/bin/wasm-tools"
525
+ key : crate-cache-wasm-tools-${{ env.wasm-tools_version }}
526
+
527
+ - name : " Check wasm-tools has been restored"
528
+ if : steps.wasm-tools.outputs.cache-hit != 'true'
529
+ run : |
530
+ echo "wasm-tools was not restored from the cache"
531
+ echo "bailing out from the build early"
532
+ exit 1
533
+
534
+ - run : yarn install --frozen-lockfile
535
+
536
+ - name : Build WPT runtime
537
+ run : tests/wpt-harness/build-wpt-runtime.sh --enable-experimental-aot
538
+
539
+ - name : Prepare WPT hosts
540
+ run : |
541
+ cd tests/wpt-harness/wpt
542
+ ./wpt make-hosts-file | sudo tee -a /etc/hosts
543
+
544
+ - name : Run tests
545
+ timeout-minutes : 20
546
+ run : node ./tests/wpt-harness/run-wpt.mjs --starlingmonkey -vv
547
+
488
548
starlingmonkey-sdktest :
489
549
concurrency :
490
550
group : ${{ github.head_ref }}-${{ github.workflow}}-starlingmonkey-sdktest-${{matrix.profile}}-${{matrix.platform}}
0 commit comments