]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI/azure: reduce compile time with increased parallism
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 25 Jul 2021 18:05:43 +0000 (20:05 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Tue, 27 Jul 2021 18:42:29 +0000 (20:42 +0200)
Azure Pipelines CI VMs have 2 CPUs, let's use them.

Closes #7489

.azure-pipelines.yml

index 7587445bc9608b22166c1bfd2818d632a7b000b4..8d37eec0653d3d25678120c7512e534ee998772b 100644 (file)
@@ -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'