Commit Graph

64 Commits (4e16ffcda2f4bce6bb40ab86005468c75802f21f)

Author SHA1 Message Date
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
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 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 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 b49e2203d6
CI: put old MATLAB version in a variable 2020-01-24 16:18:08 +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 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 e54f06cfcb
CI: inject computed version number in preprocessor and doc 2019-10-15 12:03:32 +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
Sébastien Villemot 4c95e8fd55
CI: add deploy_snapshot_unstable job 2019-09-06 18:24:19 +02:00
Sébastien Villemot 09cc5500e8
CI: add pkg_source job that constructs source tarball 2019-09-06 18:18:00 +02:00
Sébastien Villemot 5db2f17260
CI: better way of constructing version number 2019-09-06 18:17:49 +02:00
Sébastien Villemot 8f946c6c8c
Windows package: avoid Gitlab caching of MATLAB and Octave binaries 2019-09-04 16:12:28 +02:00
Sébastien Villemot 330c11000a
Migrate deploy job to new restricted runner 2019-09-04 14:30:54 +02:00
Sébastien Villemot bae1fa255a
Add scripts and CI job for building Windows package
The scripts are based the former “dynare-build” project. They have been
overhauled and simplified.

Building a Windows package (both installer and zip archive) is as easy as
running “make -C windows” (provided the right Debian packages are installed,
use the “windows/install-packages.sh” script for that purpose).

The layout of MEX files for Octave in the package has been
changed (mex/octave/win32/ and mex/octave/win64/ instead of mex/octave32/ and
mex/octave/), for consistency with MATLAB MEX.
2019-09-03 21:36:47 +02:00
Sébastien Villemot eb975f2488
Dynare++: add some generated files to artifacts and .gitignore 2019-04-30 12:59:21 +02:00
Sébastien Villemot aa16d46006
CI: simplify test jobs for Octave (only leave the manual one) 2019-03-26 18:53:51 +01:00
Sébastien Villemot 5c9ff600fb
CI: uniformize names of test jobs 2019-03-25 18:47:50 +01:00
Sébastien Villemot 5ad4c36859
CI: add manual test job against MATLAB R2009b 2019-03-25 18:47:49 +01:00
Sébastien Villemot 629245a240
Dynare++: add kord test journal to CI artifacts 2019-03-07 10:45:26 +01:00
Sébastien Villemot c7eb9c096a
CI: shorten lifetime of manual artifact (it's big since it contains MathJax) 2019-02-21 17:12:13 +01:00
Sébastien Villemot e5f938a8e5
Integrate new reference manual
- integrate with autoconf/automake, so that "make html pdf" now build the
  manual
- remove the old texinfo manual
- the PDF manual is now called dynare-manual.pdf (Closes #1543)
- add a Gitlab CI job that updates the online unstable manual under
  www.dynare.org/manual-unstable/
2019-02-21 16:58:18 +01:00
Sébastien Villemot 44a378bf26
Add Dynare++ journals to artifacts 2019-02-02 09:05:02 +01:00
Sébastien Villemot 14fe72e11f
Add missing artefacts for Dynare++ 2019-01-24 19:57:21 +01:00
Sébastien Villemot 0ecc979116
Run dynare++ testsuite in Gitlab CI 2019-01-24 18:55:41 +01:00
Sébastien Villemot 71667846e5
For the time being, allow failures in Octave testsuite 2018-12-12 15:11:50 +01:00
Sébastien Villemot 139e922c0f
No longer downoald x13 binary within CI
The binary is now picked from the Debian package.
2018-12-12 11:06:20 +01:00
Sébastien Villemot 540e3c2c41
Remove runner tags, actually not needed
We rather rely on the Gitlab setting that prevents some runners from accepting
jobs without tags.
2018-12-06 15:56:37 +01:00
Sébastien Villemot 17f4546447
Fix YAML 2018-12-06 12:37:01 +01:00
Sébastien Villemot d727e8ab87
Ensure that jobs are run on the right runners (now that we have several runner classes) 2018-12-06 12:35:44 +01:00
Sébastien Villemot bdc9794d0e
Use extends keyword (introduced in Gitlab 11.3) to simplify .gitlab-ci.yml 2018-10-29 11:28:53 +01:00