mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
CI/azure: install libssh2 for use with msys2-based builds
This enables building and running the SFTP tests. Unfortunately OpenSSH for Windows does not support SCP (yet). Reviewed-by: Daniel Stenberg Closes #5721
This commit is contained in:
parent
e574f4fda1
commit
0fc1b8bfdd
@ -116,14 +116,16 @@ stages:
|
|||||||
name: 32-bit OpenSSL and MQTT
|
name: 32-bit OpenSSL and MQTT
|
||||||
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw32:ltsc2019
|
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw32:ltsc2019
|
||||||
container_cmd: C:\msys64\usr\bin\sh
|
container_cmd: C:\msys64\usr\bin\sh
|
||||||
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --enable-mqtt
|
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2
|
||||||
tflags: ~1056 ~1299
|
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --enable-mqtt --with-libssh2
|
||||||
|
tflags: ~612 ~1056 ~1299 !SCP
|
||||||
msys2_mingw64_debug_openssl:
|
msys2_mingw64_debug_openssl:
|
||||||
name: 64-bit OpenSSL and MQTT
|
name: 64-bit OpenSSL and MQTT
|
||||||
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw64:ltsc2019
|
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw64:ltsc2019
|
||||||
container_cmd: C:\msys64\usr\bin\sh
|
container_cmd: C:\msys64\usr\bin\sh
|
||||||
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --enable-mqtt
|
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2
|
||||||
tflags: ~1056 ~1299
|
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --enable-mqtt --with-libssh2
|
||||||
|
tflags: ~612 ~1056 ~1299 !SCP
|
||||||
msys1_mingw_debug_openssl:
|
msys1_mingw_debug_openssl:
|
||||||
name: 32-bit OpenSSL (legacy)
|
name: 32-bit OpenSSL (legacy)
|
||||||
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw:ltsc2019
|
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw:ltsc2019
|
||||||
@ -146,14 +148,16 @@ stages:
|
|||||||
name: 32-bit Schannel/SSPI/WinIDN
|
name: 32-bit Schannel/SSPI/WinIDN
|
||||||
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw32:ltsc2019
|
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw32:ltsc2019
|
||||||
container_cmd: C:\msys64\usr\bin\sh
|
container_cmd: C:\msys64\usr\bin\sh
|
||||||
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn
|
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2
|
||||||
tflags: ~165 ~310 ~1013 ~1056 ~1299 ~1448 ~2034 ~2037 ~2041 ~2046 ~2047 ~3000 ~3001
|
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn --with-libssh2
|
||||||
|
tflags: ~165 ~310 ~612 ~1013 ~1056 ~1299 ~1448 ~2034 ~2037 ~2041 ~2046 ~2047 ~3000 ~3001 !SCP
|
||||||
msys2_mingw64_debug_schannel:
|
msys2_mingw64_debug_schannel:
|
||||||
name: 64-bit Schannel/SSPI/WinIDN
|
name: 64-bit Schannel/SSPI/WinIDN
|
||||||
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw64:ltsc2019
|
container_img: mback2k/curl-docker-winbuildenv-msys2-mingw64:ltsc2019
|
||||||
container_cmd: C:\msys64\usr\bin\sh
|
container_cmd: C:\msys64\usr\bin\sh
|
||||||
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn
|
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2
|
||||||
tflags: ~165 ~310 ~1013 ~1056 ~1299 ~1448 ~2034 ~2037 ~2041 ~2046 ~2047 ~3000 ~3001
|
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn --with-libssh2
|
||||||
|
tflags: ~165 ~310 ~612 ~1013 ~1056 ~1299 ~1448 ~2034 ~2037 ~2041 ~2046 ~2047 ~3000 ~3001 !SCP
|
||||||
msys1_mingw_debug_schannel:
|
msys1_mingw_debug_schannel:
|
||||||
name: 32-bit Schannel/SSPI/WinIDN (legacy)
|
name: 32-bit Schannel/SSPI/WinIDN (legacy)
|
||||||
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw:ltsc2019
|
container_img: mback2k/curl-docker-winbuildenv-msys1-mingw:ltsc2019
|
||||||
@ -177,6 +181,10 @@ stages:
|
|||||||
env:
|
env:
|
||||||
MSYS2_PATH_TYPE: inherit
|
MSYS2_PATH_TYPE: inherit
|
||||||
steps:
|
steps:
|
||||||
|
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && $(prepare)"
|
||||||
|
displayName: 'prepare'
|
||||||
|
condition: variables.prepare
|
||||||
|
|
||||||
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && ./buildconf && ./configure $(configure)"
|
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && ./buildconf && ./configure $(configure)"
|
||||||
displayName: 'configure $(name)'
|
displayName: 'configure $(name)'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user