]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - .appveyor.yml
github: Use tpm2-tss 3.2.3 for tests
[thirdparty/strongswan.git] / .appveyor.yml
index 453a1bf7fa0401c663e570a77bb6ca9422f3ab99..17221b0e48caa049139ae2d7f7e4d38a2bd6668f 100644 (file)
@@ -19,6 +19,7 @@ environment:
     #  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%
@@ -28,9 +29,13 @@ install:
       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
+  # newer versions of msys2 don't provide autotools or gperf via base-devel anymore
+  - IF "%IMG%" == "2019" %MSYS_SH% --login -c ". /etc/profile && pacman --noconfirm -S --needed autotools gperf"
 
 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"'