Various CI build fixes

- do not create symbolic links but rather a real copy for preprocessor/MEX
  files, because gitlab serves a zip (which does not support artifacts)
- fix preprocessor artifact location
- disable MATLAB and Octave when building doc
time-shift
Sébastien Villemot 2018-09-12 19:08:43 +02:00
parent a92cd4dfc4
commit 6f12959dcd
1 changed files with 3 additions and 6 deletions

View File

@ -6,22 +6,19 @@ build_binaries:
script:
- autoreconf -si
- './configure --with-matlab=$(dirname $(dirname $(readlink -f `which matlab`))) MATLAB_VERSION=$(echo version | matlab -nodesktop -nodisplay -nosplash 2>/dev/null | sed -En "/ans\ =/!d;n;n;s/^[^0-9]*([0-9]+\.[0-9]+).*$/\1/;p")'
- make -j $(nproc)
- make -j $(nproc) LN_S="cp -p"
artifacts:
paths:
- preprocessor/src/dynare_m
- matlab/preprocessor*/
- matlab/preprocessor*/*
- mex/octave/
- mex/build/octave/*/*.mex
- mex/matlab/
- mex/build/matlab/*/*.mex*
- dynare++/src/dynare++
build_doc:
stage: build
script:
- autoreconf -si
- ./configure
- ./configure --disable-matlab --disable-octave
- make -j $(nproc) info pdf html
artifacts:
paths: