mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
f6cee2ca7e
Prepare the building script to suport travis or set other automated builds, while keeping other options to manual builds. In before_install script, create needed directories, and dowload mdbtools sources. Add smtk2ssrf build script to travisbuild.sh Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
16 lines
540 B
Bash
16 lines
540 B
Bash
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
# 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
|
|
bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/smtk2ssrf-mxe-build.sh -i
|