pki: Use correct enum value to initialize ID type in --keyid command
[strongswan.git] / .appveyor.yml
1 clone_depth: 50
2
3 image:
4   - Visual Studio 2015
5   - Visual Studio 2017
6   - Visual Studio 2019
7
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:
22   - tzutil /s "Central European Standard Time"
23   - set MSYS_SH=C:\msys%BITS%\usr\bin\sh.exe
24   - set MSYSTEM=MINGW%BITS%
25   - set TEST=win%BITS%
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%
32       C:\%OPENSSL%-%TEST%\bin\openssl.exe version -a
33
34 build_script:
35   - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh deps"'
36
37 test_script:
38   - '%MSYS_SH% --login -c ". /etc/profile && touch /$MSYSTEM/etc/strongswan.conf"'
39   - '%MSYS_SH% --login -c ". /etc/profile && cd $APPVEYOR_BUILD_FOLDER && ./scripts/test.sh"'