]> 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 5d9170ec40331b3308c1980c498ddbaec86c3500..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%
@@ -29,9 +30,12 @@ install:
       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"'