[30216] in CVS-changelog-for-Kerberos-V5
krb5 commit: Use Visual Studio 2017 in appveyor build
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu May 31 20:35:09 2018
Date: Thu, 31 May 2018 20:35:02 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201806010035.w510Z2nE010257@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/fff6a3e1bb1917b6632b6e34588065e89627989b
commit fff6a3e1bb1917b6632b6e34588065e89627989b
Author: Greg Hudson <ghudson@mit.edu>
Date:   Wed May 16 21:19:43 2018 -0400
    Use Visual Studio 2017 in appveyor build
    
    Update appveyor.yml to build all of the Windows code including Leash
    and the installers, using VS2017.
 appveyor.yml |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/appveyor.yml b/appveyor.yml
index be4f6f3..db8aa84 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -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
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5