Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
d33d02f6
Verified
Commit
d33d02f6
authored
Sep 17, 2019
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Windows package: add a 7z archive (same contents as the zip, but better compressed)
parent
02bd2309
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
windows/Makefile
+1
-1
1 addition, 1 deletion
windows/Makefile
windows/build.sh
+8
-4
8 additions, 4 deletions
windows/build.sh
with
12 additions
and
5 deletions
.gitignore
+
1
−
0
View file @
d33d02f6
...
@@ -142,6 +142,7 @@ windows/deps/sources32/
...
@@ -142,6 +142,7 @@ windows/deps/sources32/
windows/deps/sources64/
windows/deps/sources64/
windows/deps/tarballs/
windows/deps/tarballs/
windows/exe/
windows/exe/
windows/7z/
windows/zip/
windows/zip/
dynare++/32-bit/
dynare++/32-bit/
dynare++/64-bit/
dynare++/64-bit/
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
0
View file @
d33d02f6
...
@@ -91,6 +91,7 @@ pkg_windows:
...
@@ -91,6 +91,7 @@ pkg_windows:
artifacts
:
artifacts
:
paths
:
paths
:
-
windows/exe/*
-
windows/exe/*
-
windows/7z/*
-
windows/zip/*
-
windows/zip/*
expire_in
:
1 week
expire_in
:
1 week
dependencies
:
dependencies
:
...
@@ -200,5 +201,6 @@ deploy_snapshot_unstable:
...
@@ -200,5 +201,6 @@ deploy_snapshot_unstable:
-
f=(windows/exe/*) && osslsigncode sign -pkcs12 ~/dynare-object-signing.p12 -n Dynare -i https://www.dynare.org -in ${f[0]} -out ${f[0]}.signed && mv ${f[0]}.signed ${f[0]}
-
f=(windows/exe/*) && osslsigncode sign -pkcs12 ~/dynare-object-signing.p12 -n Dynare -i https://www.dynare.org -in ${f[0]} -out ${f[0]}.signed && mv ${f[0]}.signed ${f[0]}
-
cp *.tar.xz /srv/www.dynare.org/snapshot/source/ && ln -sf *.tar.xz /srv/www.dynare.org/snapshot/source/dynare-latest-src.tar.xz
-
cp *.tar.xz /srv/www.dynare.org/snapshot/source/ && ln -sf *.tar.xz /srv/www.dynare.org/snapshot/source/dynare-latest-src.tar.xz
-
f=(windows/exe/*) && cp ${f[0]} /srv/www.dynare.org/snapshot/windows/ && ln -sf ${f[0]##*/} /srv/www.dynare.org/snapshot/windows/dynare-latest-win.exe
-
f=(windows/exe/*) && cp ${f[0]} /srv/www.dynare.org/snapshot/windows/ && ln -sf ${f[0]##*/} /srv/www.dynare.org/snapshot/windows/dynare-latest-win.exe
-
f=(windows/7z/*) && cp ${f[0]} /srv/www.dynare.org/snapshot/windows-7z/ && ln -sf ${f[0]##*/} /srv/www.dynare.org/snapshot/windows-7z/dynare-latest-win.7z
-
f=(windows/zip/*) && cp ${f[0]} /srv/www.dynare.org/snapshot/windows-zip/ && ln -sf ${f[0]##*/} /srv/www.dynare.org/snapshot/windows-zip/dynare-latest-win.zip
-
f=(windows/zip/*) && cp ${f[0]} /srv/www.dynare.org/snapshot/windows-zip/ && ln -sf ${f[0]##*/} /srv/www.dynare.org/snapshot/windows-zip/dynare-latest-win.zip
-
~/update-snapshot-list.sh
-
~/update-snapshot-list.sh
This diff is collapsed.
Click to expand it.
windows/Makefile
+
1
−
1
View file @
d33d02f6
...
@@ -28,7 +28,7 @@ clean-deps:
...
@@ -28,7 +28,7 @@ clean-deps:
make
-C
deps clean-all
make
-C
deps clean-all
clean
:
clean
:
rm
-rf
exe/ zip/
rm
-rf
exe/
7z/
zip/
clean-all
:
clean-deps clean
clean-all
:
clean-deps clean
...
...
This diff is collapsed.
Click to expand it.
windows/build.sh
+
8
−
4
View file @
d33d02f6
#!/bin/bash
#!/bin/bash
# Produces Windows packages of Dynare (
Windows
installer and zip archive).
# Produces Windows packages of Dynare (
executable
installer
, 7z
and zip archive
s
).
#
#
# The binaries are cross compiled for Windows (32/64bits), Octave and MATLAB
# The binaries are cross compiled for Windows (32/64bits), Octave and MATLAB
# (all supported versions).
# (all supported versions).
...
@@ -240,9 +240,9 @@ makensis -DVERSION="$VERSION" dynare.nsi
...
@@ -240,9 +240,9 @@ makensis -DVERSION="$VERSION" dynare.nsi
mkdir
-p
exe
mkdir
-p
exe
mv
dynare-
"
$VERSION
"
-win
.exe
"
$ROOT_DIRECTORY
"
/exe/
"
$BASENAME
"
-win
.exe
mv
dynare-
"
$VERSION
"
-win
.exe
"
$ROOT_DIRECTORY
"
/exe/
"
$BASENAME
"
-win
.exe
## Create
.zip file (for those people that ar
e not allowed to download/execute the installer)
## Create
7z and zip archives (for peopl
e not allowed to download/execute the installer)
# Set name of the root directory in the
ZIP
archive
# Set name of the root directory in the
7z and zip
archive
s
ZIPNAME
=
dynare-
$VERSION
ZIPNAME
=
dynare-
$VERSION
ZIPDIR
=
"
$TMP_DIRECTORY
"
/
"
$ZIPNAME
"
ZIPDIR
=
"
$TMP_DIRECTORY
"
/
"
$ZIPNAME
"
mkdir
-p
"
$ZIPDIR
"
mkdir
-p
"
$ZIPDIR
"
...
@@ -282,6 +282,10 @@ cp -p preprocessor/doc/preprocessor/preprocessor.pdf "$ZIPDIR"/doc
...
@@ -282,6 +282,10 @@ cp -p preprocessor/doc/preprocessor/preprocessor.pdf "$ZIPDIR"/doc
cp
-p
doc/gsa/gsa.pdf
"
$ZIPDIR
"
/doc
cp
-p
doc/gsa/gsa.pdf
"
$ZIPDIR
"
/doc
cp
-p
dynare++/doc/
*
.pdf
"
$ZIPDIR
"
/doc/dynare++
cp
-p
dynare++/doc/
*
.pdf
"
$ZIPDIR
"
/doc/dynare++
mkdir
-p
"
$ROOT_DIRECTORY
"
/zip
cd
"
$TMP_DIRECTORY
"
cd
"
$TMP_DIRECTORY
"
mkdir
-p
"
$ROOT_DIRECTORY
"
/zip
zip
-9
--quiet
--recurse-paths
"
$ROOT_DIRECTORY
"
/zip/
"
$BASENAME
"
-win
.zip
"
$ZIPNAME
"
zip
-9
--quiet
--recurse-paths
"
$ROOT_DIRECTORY
"
/zip/
"
$BASENAME
"
-win
.zip
"
$ZIPNAME
"
mkdir
-p
"
$ROOT_DIRECTORY
"
/7z
7zr a
-mx
=
9
"
$ROOT_DIRECTORY
"
/7z/
"
$BASENAME
"
-win
.7z
"
$ZIPNAME
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment