dynare/.gitlab-ci.yml

28 lines
744 B
YAML
Raw Normal View History

2018-09-12 18:53:44 +02:00
variables:
GIT_SUBMODULE_STRATEGY: normal
2018-09-12 18:49:48 +02:00
build_binaries:
stage: build
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) LN_S="cp -p"
2018-09-12 18:49:48 +02:00
artifacts:
paths:
- matlab/preprocessor*/*
2018-09-12 18:49:48 +02:00
- mex/octave/
- mex/matlab/
- dynare++/src/dynare++
build_doc:
stage: build
script:
- autoreconf -si
- ./configure --disable-matlab --disable-octave
2018-09-12 18:49:48 +02:00
- make -j $(nproc) info pdf html
artifacts:
paths:
- doc/dynare.info*
- doc/dynare.html
- doc/dynare.pdf