From 64896fefd0394f154c0580f36edec7812847ec86 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 26 Sep 2023 11:24:02 +0000 Subject: [PATCH] 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 --- .azure-pipelines.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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'