From faf795b014774d58fdc34db73d6268594971aaf9 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 27 Oct 2019 20:36:03 -0400 Subject: [PATCH] travis updates for Windows deploy travis updates for Windows deploy Change zip file name from NetHack.zip to NetHack-x86-beta$TRAVIS_TAG.zip where $TRAVIS_TAG represents the tag info. Also, log the commands from the sh script in win/win32/vs2017 to the build log. --- .travis.yml | 7 ++++--- win/win32/vs2017/travisci.sh | 6 +++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 501c0f7df..d13ff931d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -101,11 +101,12 @@ deploy: provider: releases api_key: secure: "U0Dt2CXrcG8Yi4taUCT/6AnM+0IJtdCv6IVG/2rGooUY3pZjNWE9XDM6X9ZeAmbI79aN6FPTppjUf3KbB/upYeJt+8mrjnxEk/ZTO1xXDDW8iL/DiqnczoFsMGmPsTM+Fkeak8bu0SifI7Qkx9i1N+zOyl2VdlaxGjchPfl/OJw2jcQs7rOGRfr23/rapZKTcFq+BFlxMiIHa0dXbCJ9vagdlyAeclOCtPjw1VoH/Cb/+0/Xlx2MFPncw4/1P+bO/fPantHyehh3/WCDVCnI4M7ftONpsTVRrQ+Hml89teUH9/1xXUOpbCeVghWr1rumLcQzMqLKNj2lP/gm9co2/DKpxiUPUzBfO/9Jvl1CNoEwPYQBRNb38kggDvAT4vKX38Oi5sZvumFEO4L0y7o4cW6SA4/CYIykfxOdkrryt8ltfWwopdy3I/DothYw31vJ9GsZOCAShFRAy3hJxYUbHhT+7SDUBadVSEkb4UqxQ+7zntAVT+Lp4DXLAfvsWxZGrQoP/IrWAgNOLRKILubpzh+YpadMH3Ygha2JRAeJAEZ3DnXf3vOOAucWnk4mNXDbW35GTDTAJDWMvddZCfsrUI/uHxgaRjFs9fLX1X5tqhGnsr27sKLWyX+zrIPVV0TPl3AzYPAf6Bc8Okeu+JEGQERvvgSasCuYcmhgYznBVJI=" + file_glob: true file: - - "NetHack.zip" + - "NetHack-x86-beta$TRAVIS_TAG.zip" skip_cleanup: true on: tags: true prerelease: true - name: "Pre-release build of NetHack 3.6.3" - body: "This is auto generated pre-release build of NetHack 3.6.3 and as such has not been tested." + name: "Pre-release travis_test of NetHack 3.6.3" + body: "This is auto generated pre-release travis_test build of NetHack 3.6.3." diff --git a/win/win32/vs2017/travisci.sh b/win/win32/vs2017/travisci.sh index 09b4b9822..819de56a9 100644 --- a/win/win32/vs2017/travisci.sh +++ b/win/win32/vs2017/travisci.sh @@ -1,3 +1,4 @@ +set -x export VSVER=2017 export MSVER=14.16.27023 export SDKVER=10.0.17763.0 @@ -26,8 +27,11 @@ export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/10/lib/$WKITVER/um/x86:$LIB git clone --depth 1 https://github.com/wmcbrine/PDCurses.git ../pdcurses export ADD_CURSES=Y export PDCURSES_TOP=../../pdcurses +export cd src cp ../sys/winnt/Makefile.msc ./Makefile nmake install cd .. -powershell -Command "Compress-Archive -U -Path binary/*.* -DestinationPath NetHack.zip" +powershell -Command "Compress-Archive -U -Path binary/*.* -DestinationPath NetHack-x86-beta$TRAVIS_TAG.zip" + + -- 2.40.0