X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.ci%2Fwindows%2Ftest.cmd;h=211a21907bdf46774e5c74371d7360dc62d24605;hb=6049b67f1e1cf00da8e0e913b8adc81a7b16bb87;hp=042740aac514685667bcd417f54c6e139bd4f6d8;hpb=b9a7444b9fa216d16d91f34d2e12f51fc4d60e46;p=tinc diff --git a/.ci/windows/test.cmd b/.ci/windows/test.cmd index 042740aa..211a2190 100644 --- a/.ci/windows/test.cmd +++ b/.ci/windows/test.cmd @@ -1,24 +1,8 @@ set builddir=%1 -set data=%builddir%\test-data -set tinc=%builddir%\src\tinc -set tincd=%tinc%d -mkdir %data% || exit 1 +REM Windows jobs on GitHub CI sometimes show surprisingly poor performance +REM (building tinc with default flags can take from 3 to upwards of 20+ +REM minutes, depending on which machine you happened to land on), so timeout +REM is set a bit higher here. -echo can tinc run at all? -%tinc% --version || exit 1 - -echo try to initialize a node -%tinc% -c %data% -b init foo || exit 1 - -echo try to generate EC keys -%tinc% -c %data% -b generate-ed25519-keys || exit 1 - -echo can tincd run? -%tincd% --version || exit 1 - -echo bail out if we're missing support for the legacy protocol -%tinc% --version | findstr legacy_protocol || exit 0 - -echo try to generate RSA keys -%tinc% -c %data% -b generate-keys || exit 1 +meson test -C %builddir% --timeout-multiplier 2 --verbose || exit 1