CI: add pkg_source job that constructs source tarball

time-shift
Sébastien Villemot 2019-09-06 17:59:07 +02:00
parent 5db2f17260
commit 09cc5500e8
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 12 additions and 0 deletions

View File

@ -61,6 +61,18 @@ build_doc:
- preprocessor/doc/*/*.pdf
expire_in: 1 week
pkg_source:
stage: test_and_pkg
script:
- '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
- make dist
artifacts:
paths:
- dynare-*.tar.xz
expire_in: 1 week
pkg_windows:
stage: test_and_pkg
script: