From: Viktor Szakats Date: Tue, 26 Sep 2023 11:24:02 +0000 (+0000) Subject: CI/azure: make `MAKEFLAGS` global to parallelize all jobs X-Git-Tag: curl-8_4_0~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64896fefd0394f154c0580f36edec7812847ec86;p=thirdparty%2Fcurl.git CI/azure: make `MAKEFLAGS` global to parallelize all jobs https://dev.azure.com/daniel0244/curl/_build/results?buildId=17528 (before) https://dev.azure.com/daniel0244/curl/_build/results?buildId=17545 (after, with -j3) Closes #11952 --- diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 6c8d84b8c3..66aa42ada7 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -55,6 +55,9 @@ pr: - 'packages/*' - 'plan9/*' +variables: + MAKEFLAGS: '-j 2' + stages: ########################################## @@ -106,8 +109,6 @@ stages: - script: make V=1 && make V=1 examples && cd tests && make V=1 displayName: 'compile' - env: - MAKEFLAGS: "-j 2" - script: make V=1 test-ci displayName: 'test' @@ -290,8 +291,6 @@ stages: - script: $(container_cmd) -l -c "cd $(echo '%cd%') && make V=1 && make V=1 examples && cd tests && make V=1" displayName: 'compile' - env: - MAKEFLAGS: "-j 2" - script: $(container_cmd) -l -c "cd $(echo '%cd%') && make V=1 install && PATH=/usr/bin:/bin find . -type f -path '*/.libs/*.exe' -print -execdir mv -t .. {} \;" displayName: 'install'