From b98df4d9941f25442e0bc3789935ae5cc8a144dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 13 Nov 2023 13:08:56 +0100 Subject: [PATCH] Run 262 tests when building with {a,ub}san --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26736e3..1a46a6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: true - name: build run: | mkdir build @@ -70,10 +72,17 @@ jobs: ./build/qjs tests/test_loop.js ./build/qjs tests/test_std.js ./build/qjs tests/test_worker.js + - name: test 262 + env: + ASAN_OPTIONS: halt_on_error=1 + run: | + time ./build/run-test262 -m -c test262.conf -a linux-msan: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: true - name: build env: CC: clang @@ -98,6 +107,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: true - name: build run: | mkdir build @@ -116,6 +127,11 @@ jobs: ./build/qjs tests/test_loop.js ./build/qjs tests/test_std.js ./build/qjs tests/test_worker.js + - name: test 262 + env: + UBSAN_OPTIONS: halt_on_error=1 + run: | + time ./build/run-test262 -m -c test262.conf -a macos: runs-on: macos-latest