Skip to content

Commit a693b45

Browse files
authored
Update StarlingMonkey to pull in PBL+weval updates in SpiderMonkey. (#886)
1 parent 1633e02 commit a693b45

File tree

2 files changed

+61
-1
lines changed

2 files changed

+61
-1
lines changed

.github/workflows/main.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,66 @@ jobs:
485485
timeout-minutes: 20
486486
run: node ./tests/wpt-harness/run-wpt.mjs --starlingmonkey -vv
487487

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+
488548
starlingmonkey-sdktest:
489549
concurrency:
490550
group: ${{ github.head_ref }}-${{ github.workflow}}-starlingmonkey-sdktest-${{matrix.profile}}-${{matrix.platform}}

0 commit comments

Comments
 (0)