mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
CI: Add memleak checking using valgrind (#5350)
Add a new step to check memleaks on our current unit tests suite
This commit is contained in:
parent
0e27b4b978
commit
9878ce05e7
3 changed files with 15 additions and 1 deletions
|
@ -18,6 +18,9 @@ if [[ $PLATFORM == "Unix" ]]; then
|
|||
# Linking to LevelDB is broken, use a custom build
|
||||
wget http://minetest.kitsunemimi.pw/libleveldb-1.18-ubuntu12.04.7z
|
||||
sudo 7z x -o/usr libleveldb-1.18-ubuntu12.04.7z
|
||||
if [[ "$VALGRIND" == "1" ]]; then
|
||||
sudo apt-get install valgrind
|
||||
fi
|
||||
else
|
||||
brew update
|
||||
brew install freetype gettext hiredis irrlicht jpeg leveldb libogg libvorbis luajit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue