]> git.ipfire.org Git - thirdparty/strongswan.git/blame - .appveyor.yml
gitignore: Don't ignore proposal_keywords.c
[thirdparty/strongswan.git] / .appveyor.yml
CommitLineData
6eb7dd11
TB
1clone_depth: 50
2
8dfc40fa
TB
3image:
4 - Visual Studio 2015
5 - Visual Studio 2017
38a78160 6 - Visual Studio 2019
8dfc40fa 7
6eb7dd11
TB
8environment:
9 global:
10 TESTS_REDUCED_KEYLENGTHS: yes
11 LEAK_DETECTIVE: no
12 MONOLITHIC: yes
13 TZ: Europe/Zurich
14 matrix:
15 - arch: x86_64
16 bits: 64
17 # no 32-bit build as 32-bit msys is not installed
18 #- arch: i686
19 # bits: 32
20
21install:
f3acc0a8 22 - tzutil /s "Central European Standard Time"
6eb7dd11
TB
23 - set MSYS_SH=C:\msys%BITS%\usr\bin\sh.exe
24 - set MSYSTEM=MINGW%BITS%
25 - set TEST=win%BITS%
a5f4b996
TB
26 - |
27 set IMG=%APPVEYOR_BUILD_WORKER_IMAGE:~-4%
28 set OPENSSL=OpenSSL
29 IF "%IMG%" == "2017" set OPENSSL=OpenSSL-v11
30 IF "%IMG%" == "2019" set OPENSSL=OpenSSL-v111
31 set OPENSSL_DIR=/c/%OPENSSL%-%TEST%
67116486 32 C:\%OPENSSL%-%TEST%\bin\openssl.exe version -a
38871d62
TB
33 # newer versions of msys2 don't provide autotools or gperf via base-devel anymore
34 - IF "%IMG%" == "2019" %MSYS_SH% --login -c ". /etc/profile && pacman --noconfirm -S --needed autotools gperf"
6eb7dd11
TB
35
36build_script:
37 - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh deps"'
38
39test_script:
8ff8b85c 40 - '%MSYS_SH% --login -c ". /etc/profile && touch /$MSYSTEM/etc/strongswan.conf"'
6eb7dd11 41 - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh"'