diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-01-26 22:57:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-01-27 09:33:49 +0100 |
commit | 54a3179ebc15f62020ae6f523de93252a7ff1722 (patch) | |
tree | d05e01dd868b78c0145dd3245361e9137913a0a7 /.azure-pipelines.yml | |
parent | 2218c3a57e86c4ef68c5fa1e2f29e4a9a915d667 (diff) | |
download | curl-54a3179ebc15f62020ae6f523de93252a7ff1722.tar.gz |
CI: move 'distcheck' job from zuul to azure pipelines
Assisted-by: Kushal Das
Closes #8334
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r-- | .azure-pipelines.yml | 61 |
1 files changed, 60 insertions, 1 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 6f194c33f..7d4e7741a 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 1998 - 2022, 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 @@ -94,6 +94,65 @@ stages: AZURE_ACCESS_TOKEN: "$(System.AccessToken)" TFLAGS: "-r $(tests)" +- stage: distcheck + dependsOn: [] + jobs: + - job: ubuntu + timeoutInMinutes: 20 + pool: + vmImage: 'ubuntu-latest' + strategy: + matrix: + default: + name: default + install: + steps: + - script: ./buildconf && ./configure --without-ssl + displayName: 'configure $(name)' + + - script: make && ./maketgz 99.98.97 + displayName: 'make tarball' + + - script: | + tar xf curl-99.98.97.tar.gz + cd curl-99.98.97 + ./configure --prefix=$HOME/temp --without-ssl + make + make TFLAGS=1 test + make install + # basic check of the installed files + cd .. + bash scripts/installcheck.sh $HOME/temp + rm -rf curl-99.98.97 + + displayName: 'verify in-tree configure build' + + - script: | + # verify out-of-tree build + tar xf curl-99.98.97.tar.gz + touch curl-99.98.97/docs/{cmdline-opts,libcurl}/Makefile.inc + mkdir build + cd build + ../curl-99.98.97/configure --without-ssl + make + make TFLAGS='-p 1 1139' test + # verify cmake build + cd .. + rm -rf curl-99.98.97 + + displayName: 'verify out-of-tree configure build' + + - script: | + tar xf curl-99.98.97.tar.gz + cd curl-99.98.97 + mkdir build + cd build + cmake .. + make + + displayName: 'verify out-of-tree cmake build' + + ########################################## ### Windows jobs below ########################################## |