blob: 8f8e827dcade95ae6a66feffadde1bab99df41fd (
plain) (
tree)
|
|
#!/usr/bin/env bash
cp /mxe/usr/i686-w64-mingw32.shared/bin/gdb.exe /libs/dll/ || true # can also be moved to docker
cp /manaplus/tools/ci/scripts/winvars.sh manaplus/build/
cd /manaplus/
# v change this in client repo laterâ„¢
git apply ../manaplus.patch
# ^ change this in client repo laterâ„¢
cd /manaplus/build/
./winmake --enable-commandlinepassword || exit 1
cp /manaplus/build/tmp/src/manaplus.exe /manaplus/build/tmp/src/manaplusd.exe
strip /manaplus/build/tmp/src/manaplus.exe
# profiler (needs another build)
/mxe/tools/copydlldeps.py -C/manaplus/build/tmp/src -L/mxe/usr/i686-w64-mingw32.shared/bin/ /libs/dll/ || true
# missing .dll's are available in windows by default (may check if its a default dll, exit 1 when otheres are missing)
./packwin || exit 1
# artifacts
cp /manaplus/packaging/windows/manaplus-*.exe /builds/jak89_1/docker-testing/build/ || exit 1
cp /manaplus/build/tmp/config.log /builds/jak89_1/docker-testing/logs/ || true
cp /manaplus/build/make2.log /builds/jak89_1/docker-testing/logs/ || true
|