]> www.tinc-vpn.org Git - tinc/blobdiff - .ci/windows/build.cmd
Adjust CI to new integration tests
[tinc] / .ci / windows / build.cmd
index 6cafcac7bf8123bad5ebe768ee706e8e5963f8d8..873971ec4e4b49798e972b1fdb7f1be3010ac8d2 100644 (file)
@@ -1,8 +1,14 @@
 set crypto=%1
 set builddir=%crypto%
+set args=
+set crossfile=.ci\cross\msvc\%HOST_ARCH%
+
+if exist %crossfile% (
+    set args=--cross-file %crossfile%
+)
 
 echo configure build directory
-meson setup %builddir% -Dbuildtype=release -Dcrypto=%crypto% || exit 1
+meson setup %builddir% -Dbuildtype=release -Dcrypto=%crypto% %args% || exit 1
 
 echo build project
 meson compile -C %builddir% || exit 1