Address some supported_versions review comments
[openssl.git] / appveyor.yml
1 platform:
2     - x86
3     - x64
4
5 environment:
6     matrix:
7         - VSVER: 14
8
9 configuration:
10     - plain
11     - shared
12
13 before_build:
14     - ps: >-
15         If ($env:Platform -Match "x86") {
16             $env:VCVARS_PLATFORM="x86"
17             $env:TARGET="VC-WIN32"
18         } Else {
19             $env:VCVARS_PLATFORM="amd64"
20             $env:TARGET="VC-WIN64A"
21         }
22     - ps: >-
23         If ($env:Configuration -Match "shared") {
24             $env:SHARED=""
25         } Else {
26             $env:SHARED="no-shared"
27         }
28     - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
29     - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
30     - mkdir _build
31     - cd _build
32     - perl ..\Configure %TARGET% no-asm %SHARED%
33     - cd ..
34
35 build_script:
36     - cd _build
37     - nmake
38     - cd ..
39
40 test_script:
41     - cd _build
42     - nmake test V=1
43     - mkdir ..\_install
44     - nmake install install_docs DESTDIR=..\_install
45     - cd ..
46
47 notifications:
48     - provider: Email
49       to:
50           - openssl-commits@openssl.org
51       on_build_success: false
52       on_build_failure: true
53       on_build_status_changed: true