mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	And use that to have our Travis build still work with the existing MXE build container as well as the even older, pre-compiled MXE binaries used in the windows build. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			699 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			699 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
 | |
| 
 | |
| # make sure we use the pre-installed version of MXE
 | |
| export MXEBUILDTYPE=i686-w64-mingw32.shared
 | |
| 
 | |
| # the MXE build used in this VM doesn't support FTDI
 | |
| bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/mxe-based-build.sh -noftdi installer
 | |
| bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/smtk2ssrf-mxe-build.sh -i
 |