From 092ef482f3b8527ba29137bc169fe7d986a518b9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 9 Dec 2019 16:27:07 +0100 Subject: fixup azure: add cmake, libssh2 and libssh on macos --- .azure-pipelines.yml | 47 ++++++++++++++++++++++++++++++++++++++++++++++- .travis.yml | 3 --- 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 @@ -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" -- cgit v1.2.1