提交 ff6d0a63 编写于 作者: F FdaSilvaYY 提交者: Dr. Matthias St. Pierre

Appveyor: update to Visual Studio 2017.

Default image was currently "Visual Studio 2015"
Reviewed-by: NRichard Levitte <levitte@openssl.org>
Reviewed-by: NTim Hudson <tjh@openssl.org>
Reviewed-by: NMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10327)

(cherry picked from commit b03de7a9207645c72e22627b10709f15eed211bf)
上级 6527714c
image:
- Visual Studio 2017
platform: platform:
- x64 - x64
- x86 - x86
...@@ -5,7 +8,7 @@ platform: ...@@ -5,7 +8,7 @@ platform:
environment: environment:
fast_finish: true fast_finish: true
matrix: matrix:
- VSVER: 14 - VSVER: 15
configuration: configuration:
- shared - shared
...@@ -13,6 +16,12 @@ configuration: ...@@ -13,6 +16,12 @@ configuration:
- minimal - minimal
before_build: before_build:
- ps: >-
Install-Module VSSetup -Scope CurrentUser
- ps: >-
Get-VSSetupInstance -All
- ps: >-
gci env:* | sort-object name
- ps: >- - ps: >-
If ($env:Platform -Match "x86") { If ($env:Platform -Match "x86") {
$env:VCVARS_PLATFORM="x86" $env:VCVARS_PLATFORM="x86"
...@@ -29,8 +38,7 @@ before_build: ...@@ -29,8 +38,7 @@ before_build:
} Else { } Else {
$env:SHARED="no-shared no-makedepend" $env:SHARED="no-shared no-makedepend"
} }
- ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS")) - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %VCVARS_PLATFORM%
- call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
- mkdir _build - mkdir _build
- cd _build - cd _build
- perl ..\Configure %TARGET% %SHARED% - perl ..\Configure %TARGET% %SHARED%
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册