Commit Graph

86 Commits (3e7c0b1eef4dcefe3ab1f1c91881bc7124dfd896)

Author SHA1 Message Date
Sébastien Villemot 1d75eeffb2
CI: redure storage duration of artifacts
This will alleviate the disk storage pressure on eris.
2021-01-27 10:13:38 +01:00
Stéphane Adjemian (Odysseus) 88bea97e38
Fixed submodule paths and CI configuration. 2021-01-12 21:38:01 +01:00
Stéphane Adjemian (Odysseus) 0e1c9312e2
Merge remote-tracking branch 'Dynare/master' into enterprise 2021-01-11 11:06:55 +01:00
Sébastien Villemot 8e7d0d2c5d
Preprocessor binary renamed and moved, various other improvements to make install rules
– preprocessor binary renamed to dynare-preprocessor
— the preprocessor binary is now installed under a preprocessor/ top-level directory
— a backward-compatibility symlink is still provided under
  matlab/preprocessor64/dynare_m
— the make install rule now install PDF and HTML documentation when those have
  been built

Closes: #1728
2021-01-06 18:17:20 +01:00
Sébastien Villemot be8eae7fd9
CI: make Octave version configurable
(cherry picked from commit d61df2e629)
2020-12-02 18:52:37 +01:00
Sébastien Villemot d61df2e629
CI: make Octave version configurable 2020-12-02 18:27:41 +01:00
Sébastien Villemot 4f960fe914
Add the ability to automatically detect MATLAB version at configure time
It is thus no longer needed to pass the MATLAB_VERSION option to the configure
script when compiling from source.

(cherry picked from commit a69d598b5f)
2020-11-24 20:49:40 +01:00
Sébastien Villemot 2b17a711e0
Provisions for MATLAB R2020b
(cherry picked from commit fa12e5abfc)
2020-11-24 20:47:40 +01:00
Sébastien Villemot f51f151be2
CI: take advantage of the new “needs” keyword
In particular, this allows us to split the “test” and “pkg” stages, without
increasing the execution time.

(manually cherry picked from commit ac59b22015)
2020-11-03 11:31:51 +01:00
Sébastien Villemot ac59b22015
CI: take advantage of the new “needs” keyword
In particular, this allows us to split the “test” and “pkg” stages, without
increasing the execution time.
2020-11-03 11:24:24 +01:00
Sébastien Villemot a69d598b5f
Add the ability to automatically detect MATLAB version at configure time
It is thus no longer needed to pass the MATLAB_VERSION option to the configure
script when compiling from source.
2020-09-30 19:08:52 +02:00
Sébastien Villemot fa12e5abfc
Provisions for MATLAB R2020b 2020-09-24 15:43:06 +02:00
Stéphane Adjemian (Odysseus) 248ad18846 Merge remote-tracking branch 'Dynare/master' into enterprise
Fixed conflicts in:

 - .gitlab-ci.yml
 - matlab/dynare_config.m
 - matlab/dynare_solve.m
 - matlab/initvalf.m
 - matlab/perfect-foresight-models/make_ex_.m
 - matlab/perfect-foresight-models/perfect_foresight_setup.m
 - mex/build/matlab/Makefile.am
 - mex/build/matlab/configure.ac
 - mex/build/octave/Makefile.am
 - mex/build/octave/configure.ac
 - mex/sources/Makefile.am
 - preprocessor
 - tests/Makefile.am
2020-09-17 14:53:32 +02:00
Sébastien Villemot 367daa8664
CI: switch to new code signing certificate for Windows 2020-07-29 17:48:58 +02:00
Sébastien Villemot c9a58a443b
CI: switch to new code signing certificate for Windows 2020-07-29 16:27:26 +02:00
Sébastien Villemot 4d22c4c0c0
Drop 32-bit binaries from Windows package
Closes: #1713
2020-07-17 12:52:58 +02:00
Sébastien Villemot d77d88a684
CI: activate timestamping of Authenticode signatures on Windows binaries
This is necessary if we want our signatures to remain valid after the
expiration of our certificate.

For more details, see:
https://www.digicert.com/blog/best-practices-timestamping/
2020-05-15 18:38:04 +02:00
Sébastien Villemot 52297f4cea
CI: activate timestamping of Authenticode signatures on Windows binaries
This is necessary if we want our signatures to remain valid after the
expiration of our certificate.

For more details, see:
https://www.digicert.com/blog/best-practices-timestamping/
2020-05-15 18:23:05 +02:00
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Sébastien Villemot 43ed7b2b69
Merge remote-tracking branch 'community/master' into enterprise 2020-03-27 16:28:41 +01:00
Sébastien Villemot 0cc163a886
CI: hardcode (recent) MATLAB version
— This is consistent with the fact that we hardcode the old MATLAB version
— This ensures better homogeneity across runners (in theory, it could be
  possible that different runners have different “matlab” symlinks)
— This allows easier customization in personal repositories
2020-03-27 14:53:06 +01:00
Sébastien Villemot d98cf64195
Source package: no longer embed a copy of MathJax
The copy of MathJax that we were embedding was not source code, because it
contained minified Javascript. In particular, this is a problem for the
official Debian package.

We now strip the copy. Users compiling the HTML manual from the source tarball
will therefore get MathJax from a CDN (this is the default behaviour of
Sphinx).
2020-02-24 18:18:55 +01:00
Sébastien Villemot d24ad5ac99
CI: fix triggering of deploy jobs
The deploy jobs were broken since ffbdd6f528.
2020-01-29 21:14:41 +01:00
Sébastien Villemot b49e2203d6
CI: put old MATLAB version in a variable 2020-01-24 16:18:08 +01:00
Sébastien Villemot ffbdd6f528
CI: replace deprecated “only” syntax by “rules:if”
Also remove useless deploy jobs from the master branch.
2020-01-21 10:08:23 +01:00
Sébastien Villemot 9a9606322f
CI: replace deprecated “only” syntax by “rules:if” 2020-01-20 18:05:26 +01:00
Sébastien Villemot 39ed7c6742
Bump version number to 4.7-unstable 2019-12-20 17:20:07 +01:00
Sébastien Villemot 6a89783b65
Merge remote-tracking branch 'community/master' into enterprise 2019-12-03 15:39:59 +01:00
Sébastien Villemot 078464d89d
CI: fix pkg_source job following change in previous commit
It is not possible to use --disable-matlab and --disable-octave, because
otherwise `make dist` does not properly recurse.

By the way, factorize the computation of the path and version of the default
MATLAB installation.
2019-11-26 15:13:54 +01:00
Sébastien Villemot 8065e9d439
Build system: by default, error out if some dependency is missing
In particular, if either MATLAB or Octave is missing, one needs to pass either
--disable-matlab or --disable-octave.

Moreover, several new configure flags have been introduced for disabling some
components:
--disable-doc
--disable-dynare++
--disable-mex-dynare++
--disable-mex-ms-sbvar
--disable-mex-kalman-steady-state
2019-11-26 13:53:42 +01:00
Sébastien Villemot 547aaafb1e
CI: use the recursive submodule strategy
This is not strictly needed since currently there is no submodule within a
submodule in Dynare. However, this is useful for the Enterprise
version (dseries has a matlab-fame-io submodule there). Moreover, this will
prevent bad surprises in the future should we introduce such a 2nd-level
submodule.
2019-11-22 14:33:39 +01:00
Sébastien Villemot 645ebda638
Merge remote-tracking branch 'community/master' into enterprise 2019-10-23 16:48:01 +02:00
Sébastien Villemot e54f06cfcb
CI: inject computed version number in preprocessor and doc 2019-10-15 12:03:32 +02:00
Sébastien Villemot 2544d2197f
CI: add job for creating stable releases using tags
[skip ci]
2019-10-15 11:40:23 +02:00
Sébastien Villemot 8875ac14d8
Merge remote-tracking branch 'community/master' into enterprise 2019-10-09 12:32:12 +02:00
Sébastien Villemot 8e3889660f
CI: fix version of snapshots 2019-10-03 21:38:05 +02:00
Sébastien Villemot 9f124bf285
Add job for deployment of enterprise snapshots 2019-10-03 17:33:45 +02:00
Houtan Bastani 982d6b9de4
build slicot, x13as when building macOS package and make some simplifications 2019-10-02 12:03:09 +02:00
Houtan Bastani 2dbfd3c723
gitlab-ci: rebuild website after creation of snapshot packages 2019-09-23 14:49:20 +02:00
Houtan Bastani ff95467efb
update gitlab-ci to create macOS snapshots 2019-09-20 15:44:57 +02:00
Sébastien Villemot 0fcbae12c0
CI: avoid transfer of artifacts to pkg_source jobs 2019-09-17 15:55:54 +02:00
Sébastien Villemot d33d02f62e
Windows package: add a 7z archive (same contents as the zip, but better compressed) 2019-09-17 15:33:37 +02:00
Sébastien Villemot 057f090942
CI: style improvements to shell commands
In particular, Bash is the default shell for CI under Unix.
2019-09-17 14:10:48 +02:00
Sébastien Villemot 982836bfa4
CI: in job test_dynare++, update timestamp of artifacts to avoid recompilation 2019-09-17 14:10:48 +02:00
Sébastien Villemot 533a4ff7db
Windows package: use pre-compiled MSYS2 packages for most dependencies
We only need to recompile Slicot and x13as.
2019-09-17 14:10:47 +02:00
Sébastien Villemot c5ac16bb99
CI: fix shell scripting in deploy_snapshot_unstable job
The globs were not expanded because pathname expansion does not occur in a
variable assignment. Use a Bash array instead.
2019-09-12 11:04:23 +02:00
Sébastien Villemot e078257d79
CI: sign snapshot with SSL certificate 2019-09-11 17:10:45 +02:00
Sébastien Villemot bff684e2aa
CI: restore the dynare-latest-* symlinks 2019-09-11 15:06:42 +02:00
Sébastien Villemot c4ddd986ac
CI: remove the dynare-latest-* symlinks for the snapshot
They're no longer needed now that the date is part of the snapshot filename.
Also, updating them from the CI was creating a discrepancy with the snapshots
listed on the website (until the latter was rebuilt).
2019-09-10 15:17:15 +02:00
Sébastien Villemot 107be12543
CI: improve script that creates the JSON file for the website
It now also deletes the old snapshots. It has been moved in
/home/gitlab-runner/ on eris.
2019-09-09 17:21:16 +02:00