]>
Commit | Line | Data |
---|---|---|
6eb7dd11 TB |
1 | clone_depth: 50 |
2 | ||
8dfc40fa TB |
3 | image: |
4 | - Visual Studio 2015 | |
5 | - Visual Studio 2017 | |
38a78160 | 6 | - Visual Studio 2019 |
8dfc40fa | 7 | |
6eb7dd11 TB |
8 | environment: |
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 | ||
21 | install: | |
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 |
6eb7dd11 TB |
33 | |
34 | build_script: | |
35 | - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh deps"' | |
36 | ||
37 | test_script: | |
8ff8b85c | 38 | - '%MSYS_SH% --login -c ". /etc/profile && touch /$MSYSTEM/etc/strongswan.conf"' |
6eb7dd11 | 39 | - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh"' |