2018-10-06 08:11:15 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# this gets executed inside the container when building a Windows
|
|
|
|
# installer on Travis
|
|
|
|
#
|
|
|
|
# working directory is assumed to be the directory including all the
|
2020-10-07 19:46:06 +00:00
|
|
|
# source directories (subsurface, googlemaps, etc)
|
2018-10-06 08:11:15 +00:00
|
|
|
# in order to be compatible with the assumed layout in the MXE script, we
|
|
|
|
# need to create the secondary build directory
|
|
|
|
|
|
|
|
set -x
|
|
|
|
set -e
|
|
|
|
|
2020-10-28 17:55:02 +00:00
|
|
|
mkdir -p win64
|
|
|
|
cd win64
|
2018-11-14 09:03:08 +00:00
|
|
|
|
|
|
|
# right now the container still has an older version of MXE installed
|
2020-10-28 17:55:02 +00:00
|
|
|
export MXEBUILDTYPE=x86_64-w64-mingw32.shared
|
2018-11-14 09:03:08 +00:00
|
|
|
|
2018-10-06 08:11:15 +00:00
|
|
|
bash -ex ../subsurface/packaging/windows/mxe-based-build.sh installer
|
|
|
|
|
2018-10-14 19:53:59 +00:00
|
|
|
bash -ex ../subsurface/packaging/windows/smtk2ssrf-mxe-build.sh -a -i
|