aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2017-03-13 22:54:35 +0100
committerDaniel Neus <[email protected]>2017-03-14 16:20:23 +0100
commite5a3b5588b1b0385adbbe2715a8507393d65cf33 (patch)
tree405bf46663b555c7b9e774e650840ae160f4a613 /src/scripts/ci
parent9961e475f10a671a8e25080958d26c8c356057ef (diff)
Add VS2017 builds
Diffstat (limited to 'src/scripts/ci')
-rw-r--r--src/scripts/ci/appveyor.yml25
1 files changed, 22 insertions, 3 deletions
diff --git a/src/scripts/ci/appveyor.yml b/src/scripts/ci/appveyor.yml
index bcc5b118a..eef1e758c 100644
--- a/src/scripts/ci/appveyor.yml
+++ b/src/scripts/ci/appveyor.yml
@@ -1,10 +1,8 @@
-os: Visual Studio 2015
-
# Let's call MSVS 2015 the default compiler, 64 bit the default architecture,
# release the default configuration and --enable-shared the default mode.
#
# Build jobs
-# 1. four basic builds: 32/64bit on MSVS2013/2015
+# 1. six basic builds: 32/64bit on MSVS2013/2015/2017
# 2. add static lib and amalgamation
# 3. add a debug build on MSVS2013/2015
#
@@ -18,36 +16,54 @@ environment:
PLATFORM: x86
CONFIG:
MODE:
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- MSVS: 2013
PLATFORM: x86_amd64
CONFIG:
MODE:
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- MSVS: 2015
PLATFORM: x86
CONFIG:
MODE:
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- MSVS: 2015
PLATFORM: x86_amd64
CONFIG:
MODE:
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+ - MSVS: 2017
+ PLATFORM: x86
+ CONFIG:
+ MODE:
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ - MSVS: 2017
+ PLATFORM: x86_amd64
+ CONFIG:
+ MODE:
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# 2
- MSVS:
PLATFORM:
CONFIG:
MODE: --disable-shared
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- MSVS:
PLATFORM:
CONFIG:
MODE: --amalgamation
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# 3
- MSVS: 2013
PLATFORM:
CONFIG: Debug
MODE:
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- MSVS: 2015
PLATFORM:
CONFIG: Debug
MODE:
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
install:
# Set defaults
@@ -66,6 +82,9 @@ install:
- if %MSVS% == 2015 (
call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
)
+ - if %MSVS% == 2017 (
+ call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%
+ )
- cl # check compiler version
- appveyor DownloadFile http://download.qt.io/official_releases/jom/jom.zip -FileName jom.zip