summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-12-09 16:27:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-12-09 16:27:07 +0100
commit092ef482f3b8527ba29137bc169fe7d986a518b9 (patch)
tree0cae349801f310ffb5fe80480be75ddd6b808905
parenta61ecc5abe2b6a80dd0f784182a59b110d178be5 (diff)
downloadcurl-092ef482f3b8527ba29137bc169fe7d986a518b9.tar.gz
fixup azure: add cmake, libssh2 and libssh on macos
-rw-r--r--.azure-pipelines.yml47
-rw-r--r--.travis.yml3
2 files changed, 46 insertions, 4 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 669d751e2..3354eab3d 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -77,7 +77,7 @@ jobs:
- script: make test-nonflaky
displayName: 'test'
- - job: vanilla_macos
+ - job: macos_plain
displayName: macos default
pool:
vmImage: 'macOS-latest'
@@ -93,3 +93,48 @@ jobs:
- script: make test-nonflaky
displayName: 'test'
+
+ - job: macos_libssh2
+ displayName: macos libssh2
+ pool:
+ vmImage: 'macOS-latest'
+ steps:
+ - script: brew update && brew install libtool autoconf automake nghttp2 pkg-config libssh2
+ displayName: Install packages
+
+ - script: ./buildconf && ./configure --with-libssh2 --enable-debug
+ displayName: 'Run configure'
+
+ - script: make
+ displayName: 'make'
+
+ - script: make test-nonflaky
+ displayName: 'test'
+
+ - job: macos_libssh
+ displayName: macos libssh
+ pool:
+ vmImage: 'macOS-latest'
+ steps:
+ - script: brew update && brew install libtool autoconf automake nghttp2 pkg-config libssh2
+ displayName: Install packages
+
+ - script: ./buildconf && ./configure --with-libssh --enable-debug
+ displayName: 'Run configure'
+
+ - script: make
+ displayName: 'make'
+
+ - script: make test-nonflaky
+ displayName: 'test'
+
+ - job: macos_cmake
+ displayName: macos cmake openssl
+ pool:
+ vmImage: 'macOS-latest'
+ steps:
+ - script: brew update && brew install libtool autoconf automake nghttp2 pkg-config cmake openssl
+ displayName: Install packages
+
+ - script: cmake -H. -Bbuild -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCURL_DISABLE_LDAP=ON -DCURL_DISABLE_LDAPS=ON && cmake --build build
+ displayName: 'Run cmake'
diff --git a/.travis.yml b/.travis.yml
index 16bbb1c3e..4f0c0c5c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -247,9 +247,6 @@ matrix:
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
- os: osx
compiler: gcc
- env: T=debug C=--with-libssh2
- - os: osx
- compiler: gcc
env: T=debug C="--disable-dict --disable-file --disable-ftp --disable-gopher --disable-imap --disable-ldap --disable-pop3 --disable-rtmp --disable-rtsp --disable-scp --disable-sftp --disable-smb --disable-smtp --disable-telnet --disable-tftp --disable-unix-sockets --disable-shared --enable-debug --enable-maintainer-mode --without-brotli --without-gssapi --without-libidn2 --without-libmetalink --without-libpsl --without-librtmp --without-libssh2 --without-nghttp2 --without-ntlm-auth --without-ssl --without-zlib"
- os: osx
compiler: gcc