re-add Windows visual studio build back into the travis-ci tests
New procedures added to win/win32/vs2017/travisci.sh for travis-ci testing. - use curl to obtain Lua from http://www.lua.org/ftp/lua-5.3.5.tar.gz - use tar to unzip lua into lib/lua-5.3.5/... Note: curl and tar were both added as part of Windows 10 in late Dec 2017 https://techcommunity.microsoft.com/t5/Containers/Tar-and-Curl-Come-to-Windows/ba-p/382409 - use git to clone pdcurses into lib/pdcurses - use git to clone universal-ctags into lib/ctags - build universal-ctags ahead of building NetHack + lua + pdcurses - adjust sys/winnt/Makefile.msc to look for those things in their lib locations when building under travis
This commit is contained in:
@@ -24,9 +24,17 @@ export LIB=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/$VSVER/$TOOLSVER
|
||||
export LIB=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/$VSVER/$TOOLSVER/VC/Tools/MSVC/$MSVER/lib/x86:$LIB
|
||||
export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/10/lib/$WKITVER/ucrt/x86:$LIB
|
||||
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
|
||||
mkdir -p lib
|
||||
cd lib
|
||||
git clone --depth 1 https://github.com/wmcbrine/PDCurses.git pdcurses
|
||||
git clone --depth 1 https://github.com/universal-ctags/ctags.git ctags
|
||||
curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
|
||||
tar zxf lua-5.3.5.tar.gz
|
||||
cd ctags
|
||||
nmake -f mk_mvc.mak
|
||||
cd ../../
|
||||
export ADD_CURSES=Y
|
||||
export PDCURSES_TOP=../../pdcurses
|
||||
export PDCURSES_TOP=../lib/pdcurses
|
||||
export
|
||||
cd src
|
||||
cp ../sys/winnt/Makefile.msc ./Makefile
|
||||
|
||||
Reference in New Issue
Block a user