summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2021-07-25 20:05:43 +0200
committerMarc Hoersken <info@marc-hoersken.de>2021-07-27 20:42:29 +0200
commit3970e68daee8ef8e27c1bf626ee9eb0f191a3569 (patch)
tree8502657f04b603e68c29937da0b05398a9002e49 /.azure-pipelines.yml
parent4d145346aee49bb8a828fbcd97b515b5465183f0 (diff)
downloadcurl-3970e68daee8ef8e27c1bf626ee9eb0f191a3569.tar.gz
CI/azure: reduce compile time with increased parallism
Azure Pipelines CI VMs have 2 CPUs, let's use them. Closes #7489
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 7587445bc..8d37eec06 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -85,6 +85,8 @@ stages:
- script: make V=1 && cd tests && make V=1
displayName: 'compile'
+ env:
+ MAKEFLAGS: "-j 2"
- script: make test-nonflaky
displayName: 'test'
@@ -191,6 +193,8 @@ stages:
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && make V=1 && 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'