1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-05 09:05:04 -05:00
curl/.azure-pipelines.yml
Daniel Stenberg 275e02bdea
azure: add libssh2 and cmake macos builds
Removed the macos libssh2 build from travis

Closes #4686
2019-12-10 12:34:46 +01:00

124 lines
3.2 KiB
YAML

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
jobs:
- job: vanilla_ubuntu
displayName: unbuntu default
pool:
vmImage: 'ubuntu-latest'
steps:
- script: ./buildconf && ./configure
displayName: 'Run configure'
- script: make
displayName: 'make'
- script: make test-nonflaky
displayName: 'test'
- job: disable_ipv6
displayName: ubuntu w/o IPv6
pool:
vmImage: 'ubuntu-latest'
steps:
- script: ./buildconf && ./configure --disable-ipv6
displayName: 'Run configure --disable-ipv6'
- script: make
displayName: 'make'
- script: make test-nonflaky
displayName: 'test'
- job: disable_http_smtp_imap
displayName: ubuntu w/o HTTP/SMTP/IMAP
pool:
vmImage: 'ubuntu-latest'
steps:
- script: ./buildconf && ./configure --disable-http --disable-smtp --disable-imap
displayName: 'Run configure'
- script: make
displayName: 'make'
- script: make test-nonflaky
displayName: 'test'
- job: disable_thredres
displayName: ubuntu sync resolver
pool:
vmImage: 'ubuntu-latest'
steps:
- script: ./buildconf && ./configure --disable-threaded-resolver
displayName: 'Run configure'
- script: make
displayName: 'make'
- script: make test-nonflaky
displayName: 'test'
- job: http_only
displayName: ubuntu HTTP only
pool:
vmImage: 'ubuntu-latest'
steps:
- script: ./buildconf && ./configure --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
displayName: 'Run configure'
- script: make
displayName: 'make'
- script: make test-nonflaky
displayName: 'test'
- job: macos_plain
displayName: macos default
pool:
vmImage: 'macOS-latest'
steps:
- script: brew update && brew install libtool autoconf automake nghttp2 pkg-config
displayName: Install packages
- script: ./buildconf && ./configure
displayName: 'Run configure'
- script: make
displayName: 'make'
- 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'