]> git.proxmox.com Git - ovs.git/blobdiff - appveyor.yml
ofproto-dpif-trace: Improve NAT tracing.
[ovs.git] / appveyor.yml
index 863b5616e86d527200fc91dec420cb229054b549..fa6754ce20ea6681a795c37cc3cb4c0bb7ec344a 100644 (file)
@@ -1,9 +1,11 @@
 version: 1.0.{build}
 branches:
-  only: 
+  only:
   - master
 clone_folder: C:\openvswitch
 init:
+- ps: $env:PATH ="C:\Python37;"+$env:PATH
+- ps: New-Item -Type HardLink -Path "C:\Python37\python3.exe" -Value "C:\Python37\python.exe"
 - ps: >-
     mkdir C:\pthreads-win32
 
@@ -15,9 +17,9 @@ init:
 
     Invoke-WebRequest $source -OutFile $destination
 
-    $source = "http://slproweb.com/download/Win32OpenSSL-1_0_1L.exe"
+    $source = "https://slproweb.com/download/Win32OpenSSL-1_0_2t.exe"
 
-    $destination = "C:\ovs-build-downloads\Win32OpenSSL-1_0_1L.exe"
+    $destination = "C:\ovs-build-downloads\Win32OpenSSL-1_0_2t.exe"
 
     Invoke-WebRequest $source -OutFile $destination
 
@@ -27,17 +29,20 @@ init:
 
     cd C:\ovs-build-downloads
 
-    .\Win32OpenSSL-1_0_1L.exe /silent /verysilent /sp- /suppressmsgboxes
+    .\Win32OpenSSL-1_0_2t.exe /silent /verysilent /sp- /suppressmsgboxes
 
     Start-Sleep -s 30
 
     cd C:\openvswitch
 
+    python3 -m pip install pypiwin32 --disable-pip-version-check
+
 build_script:
 - '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd"'
 - C:\MinGW\msys\1.0\bin\bash -lc "echo \"C:/MinGW /mingw\" > /etc/fstab"
 - C:\MinGW\msys\1.0\bin\bash -lc "cp /c/pthreads-win32/Pre-built.2/dll/x86/*.dll /c/openvswitch/."
 - C:\MinGW\msys\1.0\bin\bash -lc "mv /bin/link.exe /bin/link_copy.exe"
 - C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./boot.sh"
-- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./configure CC=build-aux/cccl LD=\"`which link`\" LIBS=\"-lws2_32 -liphlpapi\" --with-pthread=C:/pthreads-win32/Pre-built.2 --with-openssl=C:/OpenSSL-Win32 --with-vstudioddk=\"Win8.1 Debug\""
+- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./configure CC=build-aux/cccl LD=\"`which link`\" LIBS=\"-lws2_32 -lShlwapi -liphlpapi -lwbemuuid -lole32 -loleaut32\" --with-pthread=C:/pthreads-win32/Pre-built.2 --with-openssl=C:/OpenSSL-Win32 --with-vstudiotarget=\"Debug\"
 - C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && make"
+- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && make datapath_windows_analyze"