[ovs-dev] [PATCH] appveyor: Bump outdated links and add artifacts
Ilya Maximets
i.maximets at ovn.org
Tue Sep 8 12:37:14 UTC 2020
On 8/24/20 6:11 PM, Alin Gabriel Serdean wrote:
> Bump OpenSSL and pthreads links.
>
> Add release and debug configuration.
>
> Build and add Windows installer to generated artifacts.
>
> Co-authored-by: Yonggang Luo <luoyonggang at gmail.com>
> Signed-off-by: Yonggang Luo <luoyonggang at gmail.com>
> Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
> ---
Thanks!
Looks good to me in general. One comment inline.
Best regards, Ilya Maximets.
> appveyor.yml | 19 ++++++++++++++-----
> 1 file changed, 14 insertions(+), 5 deletions(-)
>
> diff --git a/appveyor.yml b/appveyor.yml
> index fa6754ce2..a51a962c3 100644
> --- a/appveyor.yml
> +++ b/appveyor.yml
> @@ -2,6 +2,9 @@ version: 1.0.{build}
> branches:
> only:
> - master
> +configuration:
> + - Debug
> + - Release
> clone_folder: C:\openvswitch
> init:
> - ps: $env:PATH ="C:\Python37;"+$env:PATH
> @@ -11,15 +14,15 @@ init:
>
> mkdir C:\ovs-build-downloads
>
> - $source = "ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip"
> + $source = "https://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip"
>
> $destination = "C:\pthreads-win32\pthreads-win32.zip"
>
> Invoke-WebRequest $source -OutFile $destination
>
> - $source = "https://slproweb.com/download/Win32OpenSSL-1_0_2t.exe"
> + $source = "https://slproweb.com/download/Win32OpenSSL-1_0_2u.exe"
The website says:
"All users and applications should be using the OpenSSL 1.1.1 (LTS) series at this point".
Can we use this version? 1.0.2 marked as "NOT recommended for use".
>
> - $destination = "C:\ovs-build-downloads\Win32OpenSSL-1_0_2t.exe"
> + $destination = "C:\ovs-build-downloads\Win32OpenSSL-1_0_2u.exe"
>
> Invoke-WebRequest $source -OutFile $destination
>
> @@ -29,7 +32,7 @@ init:
>
> cd C:\ovs-build-downloads
>
> - .\Win32OpenSSL-1_0_2t.exe /silent /verysilent /sp- /suppressmsgboxes
> + .\Win32OpenSSL-1_0_2u.exe /silent /verysilent /sp- /suppressmsgboxes
>
> Start-Sleep -s 30
>
> @@ -43,6 +46,12 @@ build_script:
> - 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 -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 && ./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=\"%CONFIGURATION%\"
> - 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"
> +- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && make windows_installer"
> +- copy c:\openvswitch\windows\ovs-windows-installer\bin\Release\OpenvSwitch.msi OpenvSwitch-%CONFIGURATION%.msi
> +
> +artifacts:
> + - path: OpenvSwitch-%CONFIGURATION%.msi
> + name: openvswitch_installer
>
More information about the dev
mailing list