GSL/pipelines/jobs.yml

20 lines
573 B
YAML
Raw Normal View History

2020-10-28 19:35:49 -04:00
parameters:
jobName: ''
imageName: ''
CXXVersions: [ 14, 17, 20 ]
buildTypes: [ 'Debug', 'Release' ]
2020-10-28 19:35:49 -04:00
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 }}