Add missing macros for DHxparams
[openssl.git] / appveyor.yml
1 platform:
2     - x64
3     - x86
4
5 environment:
6     fast_finish: true
7     matrix:
8         - VSVER: 14
9
10 configuration:
11     - shared
12     - plain
13
14 before_build:
15     - ps: >-
16         If ($env:Platform -Match "x86") {
17             $env:VCVARS_PLATFORM="x86"
18             $env:TARGET="VC-WIN32 no-asm"
19         } Else {
20             $env:VCVARS_PLATFORM="amd64"
21             $env:TARGET="VC-WIN64A-masm"
22         }
23     - ps: >-
24         If ($env:Configuration -Match "shared") {
25             $env:SHARED=""
26         } Else {
27             $env:SHARED="no-shared"
28         }
29     - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
30     - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
31     - mkdir _build
32     - cd _build
33     - perl ..\Configure %TARGET% %SHARED%
34     - cd ..
35     - ps: >-
36         if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
37             -or (&git log -2 | Select-String "\[extended tests\]") ) {
38             $env:EXTENDED_TESTS="yes"
39         }
40
41 build_script:
42     - ps: >-
43         If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
44             cd _build
45             cmd /c "nmake 2>&1"
46             cd ..
47         }
48
49 test_script:
50     - ps: >-
51         If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
52             cd _build
53             if ($env:EXTENDED_TESTS) {
54                 cmd /c "nmake test V=1 2>&1"
55                 mkdir ..\_install
56                 cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1"
57             } Else {
58                 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
59             }
60             cd ..
61         }
62
63 notifications:
64     - provider: Email
65       to:
66           - openssl-commits@openssl.org
67       on_build_success: false
68       on_build_failure: true
69       on_build_status_changed: true