]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Use Visual Studio 2017 in appveyor build 779/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 17 May 2018 01:19:43 +0000 (21:19 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 31 May 2018 23:01:31 +0000 (19:01 -0400)
Update appveyor.yml to build all of the Windows code including Leash
and the installers, using VS2017.

appveyor.yml

index be4f6f30efa48bf4200c304950dfbc126e9eda57..db8aa84196402c2581c2b42eabaa25475c7259cf 100644 (file)
@@ -1,16 +1,27 @@
+image: Visual Studio 2017
+
 build_script:
-  - call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86
   - mkdir C:\kfw
   - set KRB_INSTALL_DIR=C:\kfw
+  - cd %APPVEYOR_BUILD_FOLDER%\src
+  - set PATH=%PATH%;%wix%bin
+  - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
   - set CPU=i386
-  - set NO_LEASH=1
   - set
-  - cd %APPVEYOR_BUILD_FOLDER%\src
   - nmake -f Makefile.in prep-windows
   - nmake
   - nmake install
+  - cd windows\installer\wix
+  - nmake
+  - rename kfw.msi kfw32.msi
+  - cd ..\..\..
+  - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
   - set CPU=AMD64
-  - setenv /x64
+  - set
   - nmake clean
   - nmake
   - nmake install
+  - cd windows\installer\wix
+  - nmake clean
+  - nmake
+  - rename kfw.msi kfw64.msi