-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: convert valgrind to cmake (#529)
* ci: convert valgrind to cmake * valgrind: use cmake build * valgrind: minor fixes * valgrind: build rem with cmake * coverage: enable verbose retest
- Loading branch information
Showing
2 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,8 @@ jobs: | |
sudo apt-get update && sudo apt-get install -y libssl-dev valgrind | ||
- name: make | ||
run: make EXTRA_CFLAGS=-Werror CCACHE= | ||
run: | | ||
cmake -B build && cmake --build build -j | ||
- uses: sreimers/[email protected] | ||
with: | ||
|
@@ -33,9 +34,7 @@ jobs: | |
- name: retest | ||
run: | | ||
cd .. | ||
rm re/libre.so || true | ||
rm re/libre.dylib || true | ||
make -C rem librem.a | ||
cmake -S rem -B rem/build && cmake --build rem/build | ||
cd retest | ||
make | ||
valgrind --leak-check=full --show-reachable=yes --error-exitcode=42 ./retest -r | ||
cmake -B build && cmake --build build -j | ||
valgrind --leak-check=full --show-reachable=yes --error-exitcode=42 ./build/retest -r |