From 610de60bfe705a1c22a857694be258b303cc4204 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Fri, 20 Sep 2019 15:08:11 +0200 Subject: [PATCH] macOS snapshot: rely on artifacts from CI build_doc job --- macOS/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/macOS/build.sh b/macOS/build.sh index 68532bddc..1b6f304b0 100755 --- a/macOS/build.sh +++ b/macOS/build.sh @@ -25,7 +25,11 @@ fi cd "$ROOTDIR" [[ -f configure ]] || autoreconf -si CC=gcc-9 CXX=g++-9 ./configure --with-matlab=/Applications/MATLAB_R2016b.app MATLAB_VERSION=R2016b --with-matio=/usr/local --with-gsl=/usr/local --with-slicot=/usr/local --disable-octave PACKAGE_VERSION="$VERSION" PACKAGE_STRING="dynare $VERSION" +if [[ -z $CI ]]; then + # If not in Gitlab CI, clean the source and build the doc + make clean make -j"$NTHREADS" pdf html +fi make -j"$NTHREADS"