forked from strongswan/strongswan
-
Notifications
You must be signed in to change notification settings - Fork 24
/
.appveyor.yml
39 lines (34 loc) · 1.06 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
clone_depth: 50
image:
- Visual Studio 2015
- Visual Studio 2017
- Visual Studio 2019
environment:
global:
TESTS_REDUCED_KEYLENGTHS: yes
LEAK_DETECTIVE: no
MONOLITHIC: yes
TZ: Europe/Zurich
matrix:
- arch: x86_64
bits: 64
# no 32-bit build as 32-bit msys is not installed
#- arch: i686
# bits: 32
install:
- tzutil /s "Central European Standard Time"
- set MSYS_SH=C:\msys%BITS%\usr\bin\sh.exe
- set MSYSTEM=MINGW%BITS%
- set TEST=win%BITS%
- |
set IMG=%APPVEYOR_BUILD_WORKER_IMAGE:~-4%
set OPENSSL=OpenSSL
IF "%IMG%" == "2017" set OPENSSL=OpenSSL-v11
IF "%IMG%" == "2019" set OPENSSL=OpenSSL-v111
set OPENSSL_DIR=/c/%OPENSSL%-%TEST%
C:\%OPENSSL%-%TEST%\bin\openssl.exe version -a
build_script:
- '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh deps"'
test_script:
- '%MSYS_SH% --login -c ". /etc/profile && touch /$MSYSTEM/etc/strongswan.conf"'
- '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh"'