2018-09-12 18:53:44 +02:00
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: normal
|
2018-09-13 16:50:39 +02:00
|
|
|
TERM: linux
|
2018-09-12 18:53:44 +02:00
|
|
|
|
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")'
|
2018-09-12 19:08:43 +02:00
|
|
|
- make -j $(nproc) LN_S="cp -p"
|
2018-09-12 18:49:48 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-09-12 19:08:43 +02:00
|
|
|
- matlab/preprocessor*/*
|
2018-09-12 18:49:48 +02:00
|
|
|
- mex/octave/
|
|
|
|
- mex/matlab/
|
2019-01-24 17:56:43 +01:00
|
|
|
- dynare++/parser/cc/*_tab.cc
|
2019-01-24 19:57:21 +01:00
|
|
|
- dynare++/parser/cc/*_tab.hh
|
2019-01-24 17:56:43 +01:00
|
|
|
- dynare++/parser/cc/*_ll.cc
|
|
|
|
- dynare++/src/*_tab.cc
|
2019-01-24 19:57:21 +01:00
|
|
|
- dynare++/src/*_tab.hh
|
2019-01-24 17:56:43 +01:00
|
|
|
- dynare++/src/*_ll.cc
|
|
|
|
- dynare++/*/*.o
|
|
|
|
- dynare++/*/*.a
|
|
|
|
- dynare++/*/*/*.o
|
|
|
|
- dynare++/*/*/*.a
|
|
|
|
- dynare++/integ/src/quadrature-points
|
2018-09-12 18:49:48 +02:00
|
|
|
- dynare++/src/dynare++
|
2018-09-14 15:20:21 +02:00
|
|
|
expire_in: 1 week
|
2018-09-12 18:49:48 +02:00
|
|
|
|
|
|
|
build_doc:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- autoreconf -si
|
2018-09-12 19:08:43 +02:00
|
|
|
- ./configure --disable-matlab --disable-octave
|
2019-02-21 16:58:18 +01:00
|
|
|
- make -j $(nproc) pdf html
|
2018-09-12 18:49:48 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-02-21 16:58:18 +01:00
|
|
|
- doc/manual/build/
|
2019-02-21 17:12:13 +01:00
|
|
|
expire_in: 1 week
|
2018-09-13 16:18:23 +02:00
|
|
|
|
|
|
|
testsuite_matlab:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- autoreconf -si
|
|
|
|
- './configure --disable-octave --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")'
|
2018-09-14 19:46:01 +02:00
|
|
|
- make -j $(($(nproc) * 3 / 4)) -C tests check-matlab
|
2018-09-13 16:50:39 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- tests/*.m.log
|
|
|
|
- tests/*.m.trs
|
|
|
|
- tests/*/*.m.log
|
|
|
|
- tests/*/*.m.trs
|
2019-02-01 14:51:48 +01:00
|
|
|
- tests/*/*.jnl
|
2018-10-02 15:51:55 +02:00
|
|
|
- tests/*/*/*.m.log
|
|
|
|
- tests/*/*/*.m.trs
|
2019-02-01 14:51:48 +01:00
|
|
|
- tests/*/*/*.jnl
|
2018-09-14 15:20:21 +02:00
|
|
|
- tests/run_test_matlab_output.txt
|
|
|
|
when: always
|
2018-09-13 16:18:23 +02:00
|
|
|
dependencies:
|
|
|
|
- build_binaries
|
|
|
|
|
2018-10-29 11:28:11 +01:00
|
|
|
.testsuite_octave_template:
|
2018-09-13 16:18:23 +02:00
|
|
|
stage: test
|
|
|
|
variables:
|
|
|
|
OPENBLAS_NUM_THREADS: 1
|
|
|
|
script:
|
|
|
|
- autoreconf -si
|
|
|
|
- ./configure --disable-matlab
|
|
|
|
- make -j $(nproc) -C tests check-octave
|
2018-09-13 16:50:39 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- tests/*.o.log
|
|
|
|
- tests/*.o.trs
|
|
|
|
- tests/*/*.o.log
|
|
|
|
- tests/*/*.o.trs
|
2019-02-01 14:51:48 +01:00
|
|
|
- tests/*/*.jnl
|
2018-10-02 15:51:55 +02:00
|
|
|
- tests/*/*/*.o.log
|
|
|
|
- tests/*/*/*.o.trs
|
2019-02-01 14:51:48 +01:00
|
|
|
- tests/*/*/*.jnl
|
2018-09-14 15:20:21 +02:00
|
|
|
- tests/run_test_octave_output.txt
|
|
|
|
when: always
|
2018-09-13 16:18:23 +02:00
|
|
|
dependencies:
|
|
|
|
- build_binaries
|
2018-12-12 15:11:50 +01:00
|
|
|
allow_failure: true
|
2018-09-14 15:20:21 +02:00
|
|
|
|
|
|
|
testsuite_octave_auto:
|
2018-10-29 11:28:11 +01:00
|
|
|
extends: .testsuite_octave_template
|
2018-09-13 16:18:23 +02:00
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
- schedules
|
2018-09-14 15:20:21 +02:00
|
|
|
|
|
|
|
testsuite_octave_manual:
|
2018-10-29 11:28:11 +01:00
|
|
|
extends: .testsuite_octave_template
|
2018-09-14 15:20:21 +02:00
|
|
|
except:
|
|
|
|
- tags
|
|
|
|
- schedules
|
|
|
|
when: manual
|
2019-01-24 17:56:43 +01:00
|
|
|
|
|
|
|
test_dynare++:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- autoreconf -si
|
|
|
|
- ./configure --disable-matlab --disable-octave
|
|
|
|
- make -C dynare++ check
|
|
|
|
dependencies:
|
|
|
|
- build_binaries
|
2019-03-07 10:45:26 +01:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- dynare++/kord/out.txt
|
2019-02-21 16:58:18 +01:00
|
|
|
|
|
|
|
deploy_manual_unstable:
|
|
|
|
stage: deploy
|
|
|
|
only:
|
|
|
|
- master@Dynare/dynare
|
|
|
|
tags:
|
|
|
|
- secure
|
|
|
|
dependencies:
|
|
|
|
- build_doc
|
|
|
|
script:
|
|
|
|
- rm -rf doc/manual/build/html/_static/mathjax
|
|
|
|
- ln -s /usr/share/javascript/mathjax doc/manual/build/html/_static/mathjax
|
|
|
|
- rsync --recursive --links --delete --compress doc/manual/build/html/ dynbot@eris.dynare.org:/srv/www.dynare.org/manual-unstable/
|