Skip to content

Commit

Permalink
add werror
Browse files Browse the repository at this point in the history
  • Loading branch information
lquenti committed Jan 21, 2024
1 parent 8f33828 commit 554ef83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- name: Install Dependencies
run: sudo apt-get install gcc cppcheck
- name: Compile Library with Warnings
run: gcc -Wall -Wextra -Wpedantic -std=c11 -c -o /dev/null ./blackheap-benchmarker/src/c_code/benchmarker.c
run: gcc -Wall -Wextra -Wpedantic -Werror -std=c11 -c -o /dev/null ./blackheap-benchmarker/src/c_code/benchmarker.c
- name: Run cppcheck
run: cppcheck --enable=all --error-exitcode=1 ./blackheap-benchmarker/src/c_code/benchmarker.c

0 comments on commit 554ef83

Please sign in to comment.