mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 06:00:20 +00:00
450f654063
I expect this to become the default way to test Windows builds and create installers on Travis. The idea is that instead of downloading the pre-built MXE binaries we might as well use a container that has all this installed and can be used locally to test if things fail on Travis; which will allow us to have the exact same environment for testing locally as runs on Travis. At this point the container used is way too big - more effort needs to be spent on shrinking it. Right now this only deals with Subsurface and not with smtk2ssrf. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
13 lines
329 B
Bash
13 lines
329 B
Bash
#!/bin/bash
|
|
|
|
# this is run to actually trigger the creation of the Windows installer
|
|
# inside the container
|
|
|
|
set -x
|
|
set -e
|
|
|
|
docker exec -t builder bash subsurface/scripts/windows-container/in-container-build.sh 2>&1 | tee build.log
|
|
|
|
# fail the build if we didn't create the target binary
|
|
grep "Built target installer" build.log
|
|
|