Travis: also build an MXE/Windows installer

In the process, simplify our dependency a bit by no longer building
against libssh2 (we don't support ssh based authentication for git
on Windows) and libcurl (since it's proxy implementation doesn't appear
to actually work on Windows, anyway).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-11-11 09:38:41 -08:00
parent a157fa5c67
commit 4d04f74312
5 changed files with 118 additions and 61 deletions

View file

@ -0,0 +1,12 @@
#!/bin/bash
# this gets executed by Travis when building an installer for Windows
# it gets started from inside the subsurface directory
# with all the other projects downloaded and installed in parralel to
# subsurface; in order to be compatible with the assumed layout, we
# need to create the secondary build directory
cd ${TRAVIS_BUILD_DIR}/..
mkdir win32
ls -l
cd win32
bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/mxe-based-build.sh installer