tRemove superfluous shells from gitlab CI runner, put memtests into Makefile - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear) (HTM) git clone git://src.adamsgaard.dk/cngf-pf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit cb7836407f4ee917835b4b5c8104597e1c81b44a (DIR) parent 30ce42dd3f05c59335a69fb0d4a2b306d6cc6672 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 28 Jun 2019 11:43:38 +0200 Remove superfluous shells from gitlab CI runner, put memtests into Makefile Diffstat: M .gitlab-ci.yml | 6 ++---- M Makefile | 6 ++++++ 2 files changed, 8 insertions(+), 4 deletions(-) --- (DIR) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml t@@ -2,12 +2,10 @@ build-alpine: stage: build image: alpine:edge before_script: - - apk --no-cache add build-base gnuplot bash zsh valgrind + - apk --no-cache add build-base gnuplot valgrind script: - make -C examples - - valgrind --error-exitcode=1 --leak-check=full ./1d_fd_simple_shear -h - - valgrind --error-exitcode=1 --leak-check=full ./1d_fd_simple_shear - - valgrind --error-exitcode=1 --leak-check=full ./1d_fd_simple_shear -F + - make memtest artifacts: paths: - examples/1d_fd_simple_shear.png (DIR) diff --git a/Makefile b/Makefile t@@ -121,6 +121,12 @@ diurnal.gif: diurnal.mp4 watch: echo $(SRC) $(HDR) | tr ' ' '\n' | entr -s 'make && ./1d_fd_simple_shear' +.PHONY: memtest +memtest: $(BIN) + valgrind --error-exitcode=1 --leak-check=full $(BIN) -h + valgrind --error-exitcode=1 --leak-check=full $(BIN) + valgrind --error-exitcode=1 --leak-check=full $(BIN) -F + clean: $(RM) *.txt $(RM) *.o