diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a83d213468100f08423925bce77a3b45f65f0e4..722735877e1d98e3d07fdab473fd4bcc2620d0f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,9 @@ variables: GIT_SUBMODULE_STRATEGY: normal TERM: linux + MATLAB_VERSION: R2020b + OLD_MATLAB_VERSION: R2009b + OCTAVE_VERSION: 5.2.0 before_script: - git clone https://git.dynare.org/Dynare/m-unit-tests @@ -8,18 +11,16 @@ before_script: test_matlab: stage: test script: - - make check-matlab + - make check-matlab MATLAB=/usr/local/MATLAB/$MATLAB_VERSION/bin/matlab test_old_matlab: stage: test - variables: - MATLAB: /usr/local/MATLAB/R2009b/bin/matlab script: - - make check-matlab + - make check-matlab MATLAB=/usr/local/MATLAB/$OLD_MATLAB_VERSION/bin/matlab test_octave: stage: test variables: OPENBLAS_NUM_THREADS: 1 script: - - make check-octave + - make check-octave OCTAVE=/usr/local/octave/$OCTAVE_VERSION/bin/octave diff --git a/Makefile b/Makefile index d389dc5e1394576e434719377aa3804957656023..cafff1dc8cdda278080971bf2b5d5eca85a8de0f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ OCTAVE ?= octave-cli -MATLAB ?= $(shell which matlab) +MATLAB ?= matlab all: check-octave check-matlab