]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
azure: add libssh2 and cmake macos builds
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Dec 2019 10:43:29 +0000 (11:43 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 10 Dec 2019 11:34:46 +0000 (12:34 +0100)
Removed the macos libssh2 build from travis

Closes #4686

.azure-pipelines.yml
.travis.yml
configure.ac

index c57fc4b817820939df8a9936534a97533b7b363d..efe1d574246b6f16f2a1a1b5132af6f20b9555c0 100644 (file)
@@ -77,12 +77,12 @@ jobs:
     - script: make test-nonflaky
       displayName: 'test'
 
-  - job: vanilla_macos
+  - job: macos_plain
     displayName: macos default
     pool:
       vmImage: 'macOS-latest'
     steps:
-    - script: brew update && brew install libtool autoconf automake nghttp2
+    - script: brew update && brew install libtool autoconf automake nghttp2 pkg-config
       displayName: Install packages
 
     - script: ./buildconf && ./configure
@@ -93,3 +93,31 @@ 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_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'
index 16bbb1c3e9e9d7864edf27329db9a37813dce8a8..4f0c0c5c8494b6fcbd52b8f90b9db0911cee1c73 100644 (file)
@@ -245,9 +245,6 @@ matrix:
           env:
               - T=iconv
               - 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"
index 3e156bcae69212b5175dbc9770559ae16cd67751..dd149b7e39e27075449723ca7e7da329d33198f4 100755 (executable)
@@ -157,7 +157,7 @@ AC_SUBST(PKGADD_VENDOR)
 dnl
 dnl initialize all the info variables
     curl_ssl_msg="no      (--with-{ssl,gnutls,nss,mbedtls,wolfssl,schannel,secure-transport,mesalink,amissl,bearssl} )"
-    curl_ssh_msg="no      (--with-libssh2)"
+    curl_ssh_msg="no      (--with-{libssh,libssh2})"
    curl_zlib_msg="no      (--with-zlib)"
  curl_brotli_msg="no      (--with-brotli)"
     curl_gss_msg="no      (--with-gssapi)"