Skip to content

Commit f76b748

Browse files
kyakdanbertschneider
authored andcommitted
ci: build the native addon in the linting step
This is needed so that CMake generates compile_commands.json that is needed by clang-tidy
1 parent 49d7124 commit f76b748

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/run-all-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
sudo apt-get install clang-tidy-15
2626
sudo rm -f /usr/bin/clang-tidy
2727
sudo ln -s /usr/bin/clang-tidy-15 /usr/bin/clang-tidy
28+
- name: build fuzzer
29+
# Build the native addon so that CMake generates compile_commands.json that is needed by clang-tidy
30+
run: npm run build [email protected]/fuzzer
2831
- name: check formatting and linting
2932
run: npm run check
3033
unit_tests:

0 commit comments

Comments
 (0)