Skip to content

Commit

Permalink
valgrind in ci (#10)
Browse files Browse the repository at this point in the history
* try it

* path typo

* try passing verbose=1
  • Loading branch information
wang-edward authored Feb 20, 2025
1 parent 6a23685 commit 39a05fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install cmake ccache libcriterion-dev libsoundio-dev \
sudo apt install cmake ccache valgrind libcriterion-dev libsoundio-dev \
libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev \
libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev libglfw3-dev
mkdir -p ~/.ccache
Expand All @@ -46,4 +46,6 @@ jobs:
cmake --build .
- name: Run Unit tests
run: |
./build/unit_tests --verbose=1
# ./build/unit_tests --verbose=1
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./build/unit_tests --verbose=1

0 comments on commit 39a05fe

Please sign in to comment.