CI/azure: reduce compile time with increased parallism

Azure Pipelines CI VMs have 2 CPUs, let's use them.

Closes #7489
This commit is contained in:
Marc Hoersken 2021-07-25 20:05:43 +02:00
parent 4d145346ae
commit 3970e68dae
No known key found for this signature in database
GPG Key ID: 61E03CBED7BC859E

View 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'