CI: adapt for new location of MATLAB binaries
parent
399532a201
commit
5a6d03a2e7
|
@ -28,7 +28,7 @@ build_binaries:
|
|||
stage: build
|
||||
script:
|
||||
- autoreconf -si
|
||||
- ./configure --with-matlab=/usr/local/MATLAB/$MATLAB_VERSION PACKAGE_VERSION=$VERSION PACKAGE_STRING="dynare $VERSION"
|
||||
- ./configure --with-matlab=/opt/MATLAB/$MATLAB_VERSION PACKAGE_VERSION=$VERSION PACKAGE_STRING="dynare $VERSION"
|
||||
- make -j $(nproc) LN_S="cp -p"
|
||||
artifacts:
|
||||
paths:
|
||||
|
@ -56,7 +56,7 @@ pkg_source:
|
|||
- rm doc/manual/source/_static/mathjax && sed -i "/^mathjax_path *=/d" doc/manual/source/conf.py
|
||||
- 'for f in configure.ac preprocessor/configure.ac mex/build/matlab/configure.ac mex/build/octave/configure.ac; do sed -i "s/^AC_INIT(\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1], [$VERSION])/" $f; done'
|
||||
- autoreconf -si
|
||||
- ./configure --with-matlab=/usr/local/MATLAB/$MATLAB_VERSION
|
||||
- ./configure --with-matlab=/opt/MATLAB/$MATLAB_VERSION
|
||||
- make dist
|
||||
artifacts:
|
||||
paths:
|
||||
|
@ -67,7 +67,7 @@ pkg_source:
|
|||
pkg_windows:
|
||||
stage: pkg
|
||||
script:
|
||||
- mkdir -p windows/deps/tarballs && cp ~/tarballs/matlab64-* windows/deps/tarballs/
|
||||
- mkdir -p windows/deps/tarballs && cp /usr/lib/dynare-runner/matlab64-* windows/deps/tarballs/
|
||||
- make -C windows
|
||||
- rm windows/deps/tarballs/matlab64-* # No need to cache these files
|
||||
cache:
|
||||
|
@ -123,14 +123,14 @@ test_matlab:
|
|||
extends: .test_matlab_template
|
||||
script:
|
||||
- autoreconf -si
|
||||
- ./configure --disable-octave --with-matlab=/usr/local/MATLAB/$MATLAB_VERSION
|
||||
- ./configure --disable-octave --with-matlab=/opt/MATLAB/$MATLAB_VERSION
|
||||
- make -j $(($(nproc) * 3 / 4)) -C tests check-matlab
|
||||
|
||||
test_old_matlab:
|
||||
extends: .test_matlab_template
|
||||
script:
|
||||
- autoreconf -si
|
||||
- ./configure --disable-octave --with-matlab=/usr/local/MATLAB/$OLD_MATLAB_VERSION
|
||||
- ./configure --disable-octave --with-matlab=/opt/MATLAB/$OLD_MATLAB_VERSION
|
||||
- make -C mex/build/matlab clean
|
||||
- make -j $(nproc) -C mex/build/matlab
|
||||
- make -j $(($(nproc) * 3 / 4)) -C tests check-matlab
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0e275d751e5887075786b09d513fb3661f8ca7a2
|
||||
Subproject commit 9c1a33c69010473cfe5c9144b4c636a900a2b268
|
|
@ -1 +1 @@
|
|||
Subproject commit 5d7f7e0c2bbf1985a516662c360d984e230a38c8
|
||||
Subproject commit 8800d4459299fde7362dd2ccce64b0a96477aa68
|
Loading…
Reference in New Issue