1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 20:37:35 +00:00

CI+Lagom: Use the same options for running test-wasm in ctest and CI

Make sure that we set SERENITY_SOURCE_DIR in ctest, and make sure to
pass the test root to the CI job.

More overhaul of test-js 'test root' finding is needed however.
This commit is contained in:
Andrew Kaster 2023-02-22 17:31:35 -07:00 committed by Andrew Kaster
parent 0fb6f87d49
commit 1b24fa5829
2 changed files with 6 additions and 4 deletions

View file

@ -128,7 +128,7 @@ jobs:
- name: Run test-wasm
working-directory: libjs-test262/Build
run: |
_deps/lagom-build/test-wasm --per-file > ../../libjs-website/wasm/data/per-file-master.json || true
_deps/lagom-build/test-wasm --per-file _deps/lagom-build/Userland/Libraries/LibWasm/Tests > ../../libjs-website/wasm/data/per-file-master.json || true
jq -nc -f /dev/stdin <<-EOF --slurpfile previous ../../libjs-website/wasm/data/results.json --slurpfile details ../../libjs-website/wasm/data/per-file-master.json > wasm-new-results.json
\$details[0] as \$details | \$previous[0] + [{
"commit_timestamp": $(git -C ../.. log -1 --format=%ct),