GSL/pipelines/jobs.yml
2021-12-07 14:11:28 -08:00

20 lines
573 B
YAML

parameters:
jobName: ''
imageName: ''
CXXVersions: [ 14, 17, 20 ]
buildTypes: [ 'Debug', 'Release' ]
jobs:
- ${{ each CXXVersion in parameters.CXXVersions }}:
- ${{ each buildType in parameters.buildTypes }}:
- job:
displayName: ${{ format('{0} {1} C++{2}', parameters.imageName, buildType, CXXVersion) }}
pool:
vmImage: ${{ parameters.imageName }}
continueOnError: false
steps:
- template: ./steps.yml
parameters:
buildType: ${{ buildType }}
CXXVersion: ${{ CXXVersion }}