Skip to content

Commit

Permalink
ci: build the native addon in the linting step
Browse files Browse the repository at this point in the history
This is needed so that CMake generates compile_commands.json that is
 needed by clang-tidy
  • Loading branch information
kyakdan authored and bertschneider committed Jan 19, 2023
1 parent 49d7124 commit f76b748
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-all-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
sudo apt-get install clang-tidy-15
sudo rm -f /usr/bin/clang-tidy
sudo ln -s /usr/bin/clang-tidy-15 /usr/bin/clang-tidy
- name: build fuzzer
# Build the native addon so that CMake generates compile_commands.json that is needed by clang-tidy
run: npm run build --workspace=@jazzer.js/fuzzer
- name: check formatting and linting
run: npm run check
unit_tests:
Expand Down

0 comments on commit f76b748

Please sign in to comment.