Run 262 tests when building with {a,ub}san

This commit is contained in:
Saúl Ibarra Corretgé 2023-11-13 13:08:56 +01:00
parent 7926755704
commit b98df4d994

View file

@ -52,6 +52,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
submodules: true
- name: build - name: build
run: | run: |
mkdir build mkdir build
@ -70,10 +72,17 @@ jobs:
./build/qjs tests/test_loop.js ./build/qjs tests/test_loop.js
./build/qjs tests/test_std.js ./build/qjs tests/test_std.js
./build/qjs tests/test_worker.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: linux-msan:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
submodules: true
- name: build - name: build
env: env:
CC: clang CC: clang
@ -98,6 +107,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
submodules: true
- name: build - name: build
run: | run: |
mkdir build mkdir build
@ -116,6 +127,11 @@ jobs:
./build/qjs tests/test_loop.js ./build/qjs tests/test_loop.js
./build/qjs tests/test_std.js ./build/qjs tests/test_std.js
./build/qjs tests/test_worker.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: macos:
runs-on: macos-latest runs-on: macos-latest