Skip to content

Commit

Permalink
Run 262 tests when building with {a,m,ub}san
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Nov 13, 2023
1 parent 7926755 commit 86cd168
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: build
run: |
mkdir build
Expand All @@ -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
Expand All @@ -94,10 +103,17 @@ jobs:
./build/qjs tests/test_loop.js
./build/qjs tests/test_std.js
./build/qjs tests/test_worker.js
- name: test 262
env:
MSAN_OPTIONS: halt_on_error=1
run: |
time ./build/run-test262 -m -c test262.conf -a
linux-ubsan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: build
run: |
mkdir build
Expand All @@ -116,6 +132,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
Expand Down

0 comments on commit 86cd168

Please sign in to comment.