123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393 |
- #***************************************************************************
- # _ _ ____ _
- # Project ___| | | | _ \| |
- # / __| | | | |_) | |
- # | (__| |_| | _ <| |___
- # \___|\___/|_| \_\_____|
- #
- # Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
- #
- # This software is licensed as described in the file COPYING, which
- # you should have received as part of this distribution. The terms
- # are also available at https://curl.haxx.se/docs/copyright.html.
- #
- # You may opt to use, copy, modify, merge, publish, distribute and/or sell
- # copies of the Software, and permit persons to whom the Software is
- # furnished to do so, under the terms of the COPYING file.
- #
- # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- # KIND, either express or implied.
- #
- ###########################################################################
- # 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:
- branches:
- include:
- - 'master'
- - '*/ci'
- pr:
- branches:
- include:
- - 'master'
- stages:
- ##########################################
- ### Linux jobs first
- ##########################################
- - stage: linux
- dependsOn: []
- jobs:
- - job: vanilla
- displayName: ubuntu default
- timeoutInMinutes: 20
- pool:
- vmImage: 'ubuntu-latest'
- steps:
- - script: sudo apt install stunnel4 python-impacket
- displayName: 'apt install'
- - script: ./buildconf && ./configure --enable-debug --enable-werror
- displayName: 'configure debug'
- - script: make
- displayName: 'make'
- - script: make test-nonflaky
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: ""
- - job: disable_ipv6
- displayName: ubuntu w/o IPv6
- timeoutInMinutes: 20
- pool:
- vmImage: 'ubuntu-latest'
- steps:
- - script: sudo apt install stunnel4 python-impacket
- displayName: 'apt install'
- - script: ./buildconf && ./configure --disable-ipv6
- displayName: 'configure disable ipv6'
- - script: make
- displayName: 'make'
- - script: make test-nonflaky
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: ""
- - job: disable_http_smtp_imap
- displayName: ubuntu w/o HTTP/SMTP/IMAP
- timeoutInMinutes: 20
- pool:
- vmImage: 'ubuntu-latest'
- steps:
- - script: sudo apt install stunnel4 python-impacket
- displayName: 'apt install'
- - script: ./buildconf && ./configure --disable-http --disable-smtp --disable-imap
- displayName: 'configure disable http/smtp/imap'
- - script: make
- displayName: 'make'
- - script: make test-nonflaky
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- - job: disable_thredres
- displayName: ubuntu sync resolver
- timeoutInMinutes: 20
- pool:
- vmImage: 'ubuntu-latest'
- steps:
- - script: sudo apt install stunnel4 python-impacket
- displayName: 'apt install'
- - script: ./buildconf && ./configure --disable-threaded-resolver
- displayName: 'configure disable threaded-resolver'
- - script: make
- displayName: 'make'
- - script: make test-nonflaky
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: ""
- - job: http_only
- displayName: ubuntu HTTP only
- timeoutInMinutes: 20
- pool:
- vmImage: 'ubuntu-latest'
- steps:
- - script: sudo apt install stunnel4 python-impacket
- displayName: 'apt install'
- - 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: 'configure disable non-http'
- - script: make
- displayName: 'make'
- - script: make test-nonflaky
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: ""
- - stage: linux_torture
- dependsOn: linux
- jobs:
- - job: torture
- displayName: ubuntu torture tests
- timeoutInMinutes: 60
- pool:
- vmImage: 'ubuntu-latest'
- steps:
- - script: sudo apt install stunnel4 python-impacket libnghttp2-dev
- displayName: 'apt install'
- - script: ./buildconf && ./configure --enable-debug --disable-shared --disable-threaded-resolver --enable-alt-svc
- displayName: 'configure torture'
- - script: make
- displayName: 'make'
- - script: make test-nonflaky
- displayName: 'torture test'
- env:
- TFLAGS: "-n -t --shallow=40 !FTP"
- ##########################################
- ### Windows jobs below
- ##########################################
- - stage: windows
- dependsOn: []
- variables:
- agent.preferPowerShellOnContainers: true
- jobs:
- - job: windows_msys2_mingw32_debug_openssl
- displayName: msys2 mingw32 debug openssl
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys2-mingw32:ltsc2019
- env:
- MSYSTEM: MINGW32
- MSYS2_PATH_TYPE: inherit
- steps:
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --enable-debug --enable-werror"
- displayName: 'configure debug'
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~1056 ~1299"
- - job: windows_msys2_mingw64_debug_openssl
- displayName: msys2 mingw64 debug openssl
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys2-mingw64:ltsc2019
- env:
- MSYSTEM: MINGW64
- MSYS2_PATH_TYPE: inherit
- steps:
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --enable-debug --enable-werror"
- displayName: 'configure debug'
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~1056 ~1299"
- - job: windows_msys1_mingw_debug_openssl
- displayName: msys1 mingw debug openssl
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys1-mingw:ltsc2019
- steps:
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/mingw --enable-debug"
- displayName: 'configure debug'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~203 ~1056 ~1143"
- - job: windows_msys1_mingw32_debug_openssl
- displayName: msys1 mingw32 debug openssl
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys1-mingw32:ltsc2019
- steps:
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --without-zlib --enable-mqtt"
- displayName: 'configure debug without zlib'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~203 ~1056 ~1143 ~1299"
- - job: windows_msys1_mingw64_debug_openssl
- displayName: msys1 mingw64 debug openssl
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys1-mingw64:ltsc2019
- steps:
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --without-zlib"
- displayName: 'configure debug without zlib'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~203 ~1056 ~1143 ~1299"
- - job: windows_msys2_mingw32_debug_schannel
- displayName: msys2 mingw32 debug schannel
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys2-mingw32:ltsc2019
- env:
- MSYSTEM: MINGW32
- MSYS2_PATH_TYPE: inherit
- steps:
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn"
- displayName: 'configure debug with sspi/schannel/winidn'
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~165 ~310 ~1013 ~1056 ~1299 ~1448 ~2034 ~2037 ~2041 ~2046 ~2047 ~3000 ~3001"
- - job: windows_msys2_mingw64_debug_schannel
- displayName: msys2 mingw64 debug schannel
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys2-mingw64:ltsc2019
- env:
- MSYSTEM: MINGW64
- MSYS2_PATH_TYPE: inherit
- steps:
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn"
- displayName: 'configure debug with sspi/schannel/winidn'
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\msys64\usr\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~165 ~310 ~1013 ~1056 ~1299 ~1448 ~2034 ~2037 ~2041 ~2046 ~2047 ~3000 ~3001"
- - job: windows_msys1_mingw_debug_schannel
- displayName: msys1 mingw debug schannel
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys1-mingw:ltsc2019
- steps:
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/mingw --enable-debug --enable-sspi --without-ssl --with-schannel --with-winidn"
- displayName: 'configure debug with sspi/schannel/winidn'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~203 ~305 ~310 ~311 ~312 ~313 ~404 ~1013 ~1056 ~1143 ~2034 ~2035 ~2037 ~2038 ~2041 ~2042 ~2048 ~3000 ~3001"
- - job: windows_msys1_mingw32_debug_schannel
- displayName: msys1 mingw32 debug schannel
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys1-mingw32:ltsc2019
- steps:
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --enable-sspi --without-ssl --with-schannel --with-winidn --without-zlib"
- displayName: 'configure debug with sspi/schannel/winidn without zlib'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~203 ~310 ~1013 ~1056 ~1143 ~1299 ~2034 ~2037 ~2041 ~3000 ~3001"
- - job: windows_msys1_mingw64_debug_schannel
- displayName: msys1 mingw64 debug schannel
- timeoutInMinutes: 90
- pool:
- vmImage: 'windows-2019'
- container:
- image: mback2k/curl-docker-winbuildenv-msys1-mingw64:ltsc2019
- steps:
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && ./buildconf && ./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 --without-zlib"
- displayName: 'configure debug with sspi/schannel/winidn without zlib'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make"
- displayName: 'make'
- - script: C:\MinGW\msys\1.0\bin\sh -l -c "cd $(echo '%cd%') && make test-nonflaky"
- displayName: 'test'
- env:
- AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "~203 ~310 ~1013 ~1056 ~1143 ~1299 ~2034 ~2037 ~2041 ~3000 ~3001"
|