]> granicus.if.org Git - nethack/commitdiff
update CI build for mingw
authornhmall <nhmall@nethack.org>
Fri, 28 Jan 2022 03:54:03 +0000 (22:54 -0500)
committernhmall <nhmall@nethack.org>
Fri, 28 Jan 2022 03:54:03 +0000 (22:54 -0500)
azure-pipelines.yml

index 01b39e88da7ebb763ffcd165ee29242a1fdbb8d9..160778523e78bc8f6acdbb4596231b6cb55aaa2d 100644 (file)
@@ -138,8 +138,10 @@ steps:
     export PDCURSES_TOP=../submodules/pdcurses
     export LUA_VERSION=5.4.4
     export TRAVIS_COMPILER=1
-    cp ../sys/windows/Makefile.gcc ./Makefile
-    mingw32-make LUA_VERSION=$LUA_VERSION install
+    cp ../sys/windows/Makefile.mingw32* .
+    mingw32-make -f Makefile.mingw32 clean
+    mingw32-make -f Makefile.mingw32 depend
+    mingw32-make -f Makefile.mingw32
   condition: eq( variables.toolchain, 'mingw' )
   workingDirectory: $(Agent.BuildDirectory)/$(netHackPath)/src
   displayName: 'MinGW Build'