]> git.ipfire.org Git - thirdparty/openssl.git/blame - appveyor.yml
Constify ASN1_TYPE_get, ASN1_STRING_type, ASN1_STRING_to_UTF8, ASN1_TYPE_get_octetstr...
[thirdparty/openssl.git] / appveyor.yml
CommitLineData
68db80e2
AG
1platform:
2 - x86
3 - x64
4
5environment:
6 matrix:
68db80e2
AG
7 - VSVER: 14
8
9configuration:
10 - plain
11 - shared
12
68db80e2
AG
13before_build:
14 - ps: >-
15 If ($env:Platform -Match "x86") {
16 $env:VCVARS_PLATFORM="x86"
17 $env:TARGET="VC-WIN32"
68db80e2
AG
18 } Else {
19 $env:VCVARS_PLATFORM="amd64"
20 $env:TARGET="VC-WIN64A"
68db80e2 21 }
f527b6e4
RL
22 - ps: >-
23 If ($env:Configuration -Match "shared") {
f527b6e4 24 $env:SHARED=""
e951eca8
MC
25 } Else {
26 $env:SHARED="no-shared"
f527b6e4 27 }
68db80e2
AG
28 - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
29 - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
14c42019
RL
30 - mkdir _build
31 - cd _build
32 - perl ..\Configure %TARGET% no-asm %SHARED%
33 - cd ..
68db80e2
AG
34
35build_script:
14c42019 36 - cd _build
0c1167fd 37 - nmake
14c42019 38 - cd ..
68db80e2
AG
39
40test_script:
14c42019 41 - cd _build
0c1167fd 42 - nmake test
14c42019
RL
43 - cd ..
44
45# Fake deploy script to test installation
46deploy_script:
47 - mkdir _install
48 - cd _build
49 - nmake install install_docs DESTDIR=..\_install
50 - cd ..
68db80e2
AG
51
52notifications:
53 - provider: Email
54 to:
55 - openssl-commits@openssl.org
56 on_build_success: false
57 on_build_failure: true
58 on_build_status_changed: true