[Groonga-commit] groonga/groonga at e2467ca [master] appveyor: try to use Visual Studio 2017

Back to archive index
Kentaro Hayashi null+****@clear*****
Thu Jan 31 22:45:36 JST 2019


Kentaro Hayashi	2019-01-31 22:45:36 +0900 (Thu, 31 Jan 2019)

  Revision: e2467ca13be1e85e3a5dac10287bb8360915f3d5
  https://github.com/groonga/groonga/commit/e2467ca13be1e85e3a5dac10287bb8360915f3d5

  Message:
    appveyor: try to use Visual Studio 2017

  Modified files:
    appveyor.yml

  Modified: appveyor.yml (+13 -1)
===================================================================
--- appveyor.yml    2019-01-31 21:28:23 +0900 (06adfab0f)
+++ appveyor.yml    2019-01-31 22:45:36 +0900 (37cb90585)
@@ -15,6 +15,10 @@ environment:
       ARCH: x86
     - VS_VERSION: 14
       ARCH: amd64
+    - VS_VERSION: 15
+      ARCH: x86
+    - VS_VERSION: 15
+      ARCH: amd64
 
 # matrix:
 #   allow_failures:
@@ -29,9 +33,17 @@ init:
 install:
   - set PATH=C:\Ruby25-x64\bin;%PATH%
   - set PATH=C:\msys64\usr\bin;%PATH%
-  - call
+  - if "%VS_VERSION%" == "15" if "%ARCH" == "x86" (
+      call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
+    )
+  - if "%VS_VERSION%" == "15" if "%ARCH" == "amd64" (
+      call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
+    )
+  - if not "%VS_VERSION%" == "15" (
+      call
       "C:\Program Files (x86)\Microsoft Visual Studio %VS_VERSION%.0\VC\vcvarsall.bat"
       %ARCH%
+    )
   # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
   - tzutil /s "Tokyo Standard Time"
   # - choco install -y imdisk-toolkit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190131/0762c6f9/attachment-0001.html>


More information about the Groonga-commit mailing list
Back to archive index