Commit Graph

56 Commits (9ba634ad2aed77fc8fe02273e40c4e041a7c461c)

Author SHA1 Message Date
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
Sébastien Villemot 8f6b89ab56 Gitlab CI: include test results at 2nd level of the filesystem hierarchy 2018-10-02 15:51:55 +02:00
Stéphane Adjemian(Charybdis) 8921a5a931 Cosmetic change (factorization in before_script block). 2018-09-15 13:50:53 +02:00
Stéphane Adjemian(Charybdis) 15a897e876 Temporary fix for x13 binary dependency (dseries). 2018-09-15 11:53:04 +02:00
Sébastien Villemot b7711e474f CI: remove redundant output 2018-09-14 19:54:35 +02:00
Sébastien Villemot 0fe22e70e3 Revert "Add tests/run_test_{matlab,octave}_output.txt in testsuite articfacts."
This reverts commit f1dbd8beac.

The files were already added in 8400a952d.
2018-09-14 19:48:15 +02:00
Sébastien Villemot f62aa80779 CI: increase number of CPUs for MATLAB testsuite 2018-09-14 19:46:01 +02:00
Stéphane Adjemian(Charybdis) f1dbd8beac Add tests/run_test_{matlab,octave}_output.txt in testsuite articfacts. 2018-09-14 15:37:30 +02:00
Sébastien Villemot f74e72613c Fix CI YAML
The "extends" keyword is not yet in Gitlab 11.2 (it is said to be implemented
in 11.3…).
2018-09-14 15:28:52 +02:00