mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Change the builds on push (i.e. pull request merges) to build release versions. This seems to be the correct way to build these, as they are now distributed as the official builds on https://subsurface-divelog.org/. For users wanting to help with debugging, build artifacts on pull requests are available, and these are debug builds. Also adding the option to manually trigger builds, so if needed debug builds can be run on `master`. Signed-off-by: Michael Keller <github@ike.ch> |
||
---|---|---|
.. | ||
container-prep.sh | ||
docker-build.sh | ||
in-container-build.sh | ||
mxe-based-build.sh | ||
README.md | ||
smtk-import.nsi.in | ||
smtk2ssrf-mxe-build.sh | ||
subsurface.ico | ||
subsurface.nsi.in |
Creating a Windows installer
The scripts here help with cross building Subsurface and smtk2ssrf for Windows.
The preferred method to create a Windows installer is to use our own docker image that has all the build components pre-assembled. All it takes is this:
export GIT_AUTHOR_NAME=<your name>
export GIT_AUTHOR_EMAIL=<email to be used with github>
cd /some/path
git clone https://github.com/subsurface/subsurface
cd subsurface
git submodule init
git submodule update
./packaging/windows/docker-build.sh
This will result in the two installers subsurface-VERSION.exe and smtk2ssrf-VERSION.exe to be created in /some/path/subsurface/output/windows/.