Skip to content

Commit 5a17546

Browse files
committed
Add valgrind to CI
Fixes: #71
1 parent 8db7d24 commit 5a17546

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,20 @@ jobs:
241241
- name: stats
242242
run: |
243243
make stats
244+
linux-valgrind:
245+
runs-on: ubuntu-latest
246+
steps:
247+
- uses: actions/checkout@v4
248+
with:
249+
submodules: true
250+
- name: install valgrind
251+
run: sudo apt-get install valgrind
252+
- name: build
253+
run: |
254+
make BUILD_TYPE=RelWithDebInfo
255+
- name: test
256+
run: |
257+
valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./build/run-test262 -m -c test262.conf -a
244258
245259
macos:
246260
runs-on: macos-latest

0 commit comments

Comments
 (0)