Commit c69eb636 authored by Claudio André's avatar Claudio André

CI: add a Valgrind job

parent c7313558
......@@ -55,6 +55,11 @@ stages:
$(pwd)/test/test-ci.sh GJS_COVERAGE;
fi'
# Run valgrind
- 'if [[ $BUILD_OPTS == *"--enable-valgrind"* ]]; then
$(pwd)/test/test-ci.sh VALGRIND;
fi'
fedora:
<<: *build
when: always
......@@ -144,6 +149,19 @@ codequality:
only:
- master@GNOME/gjs
valgrind:
<<: *build
stage: thorough_tests
image: claudioandre/spidermonkey:fedora.dev.gcc
variables:
CC: gcc
DEV: devel
TEST: "build"
BUILD_OPTS: "--enable-valgrind --disable-valgrind-helgrind --prefix=/usr"
allow_failure: true
only:
- master@GNOME/gjs
cppcheck:
<<: *build
stage: static_analysis
......
......@@ -172,6 +172,15 @@ elif [[ $1 == "GJS_EXTRA" ]]; then
xvfb-run -a --server-args="-screen 0 1024x768x24" dbus-run-session -- gnome-desktop-testing-runner gjs
fi
elif [[ $1 == "VALGRIND" ]]; then
# Run Valgrind. It doesn't (re)build, just run the 'Valgrind Tests'
echo
echo '-- Valgrind Report --'
do_Set_Env
PATH=$PATH:~/.local/bin
make check-valgrind
elif [[ $1 == "GJS_COVERAGE" ]]; then
# Code coverage test. It doesn't (re)build, just run the 'Coverage Tests'
echo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment