ci(azure-pipelines): fix STACK_CORES

This commit is contained in:
Sarah Vaupel 2025-02-10 16:50:20 +01:00
parent 7e8d910496
commit 406c14dd86
2 changed files with 4 additions and 4 deletions

View File

@ -54,6 +54,6 @@ jobs:
parameters:
makeJob: dependencies
makeService: ${{parameters.serviceName}}
makeVars: 'CPU_CORES=${{parameters.dependenciesBuildCores}} STACK_CORES=${{parameters.dependenciesBuildCores}}'
makeVars: 'CPU_CORES=${{parameters.dependenciesBuildCores}} STACK_CORES=-j${{parameters.dependenciesBuildCores}}'
# (Note: a post-job for updating the dependency cache is automatically created, so no further step is due here.)

View File

@ -114,7 +114,7 @@ stages:
parameters:
makeJob: compile
makeService: ${{service.name}}
makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=${{service.buildCores}}'
makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=-j${{service.buildCores}}'
- task: CopyFiles@2
displayName: Prepare ${{service.name}} build artifacts for upload
inputs:
@ -170,12 +170,12 @@ stages:
parameters:
makeJob: lint
makeService: ${{service.name}}
makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=${{service.buildCores}}'
makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=-j${{service.buildCores}}'
- template: .azure-pipelines/templates/steps/make.yaml
parameters:
makeJob: test
makeService: ${{service.name}}
makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=${{service.buildCores}}'
makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=-j${{service.buildCores}}'
- task: Docker@2
displayName: Logout from container registry
inputs: