mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-28 18:41:57 -05:00
ebf0498363
Bump clang and Xcode supported versions and add support for VS with LLVM
67 lines
1.4 KiB
YAML
67 lines
1.4 KiB
YAML
trigger:
|
|
- main
|
|
|
|
pr:
|
|
autoCancel: true
|
|
|
|
stages:
|
|
- stage: GCC
|
|
dependsOn: []
|
|
jobs:
|
|
- template: ./pipelines/jobs.yml
|
|
parameters:
|
|
compiler: gcc
|
|
image: ubuntu-20.04
|
|
compilerVersions: [ 11, 10 ]
|
|
setupfile: 'setup_gcc.yml'
|
|
|
|
- stage: Clang
|
|
dependsOn: []
|
|
jobs:
|
|
- template: ./pipelines/jobs.yml
|
|
parameters:
|
|
compiler: clang
|
|
image: ubuntu-20.04
|
|
compilerVersions: [ 12, 11 ]
|
|
setupfile: 'setup_clang.yml'
|
|
|
|
- stage: Xcode
|
|
dependsOn: []
|
|
jobs:
|
|
- template: ./pipelines/jobs.yml
|
|
parameters:
|
|
compiler: 'Xcode'
|
|
image: macOS-11
|
|
compilerVersions: [ '12.5.1', '13.2.1' ]
|
|
setupfile: 'setup_apple.yml'
|
|
|
|
- stage: VS_MSVC
|
|
dependsOn: []
|
|
jobs:
|
|
- template: ./pipelines/jobs.yml
|
|
parameters:
|
|
compiler: 'VS2019 (MSVC)'
|
|
compilerVersions: [ 'default' ]
|
|
image: windows-2019
|
|
- template: ./pipelines/jobs.yml
|
|
parameters:
|
|
compiler: 'VS2022 (MSVC)'
|
|
compilerVersions: [ 'default' ]
|
|
image: windows-2022
|
|
|
|
- stage: VS_LLVM
|
|
dependsOn: []
|
|
jobs:
|
|
- template: ./pipelines/jobs.yml
|
|
parameters:
|
|
compiler: 'VS2019 (LLVM)'
|
|
compilerVersions: [ 'default' ]
|
|
image: windows-2019
|
|
extraCmakeArgs: '-T ClangCL'
|
|
- template: ./pipelines/jobs.yml
|
|
parameters:
|
|
compiler: 'VS2022 (LLVM)'
|
|
compilerVersions: [ 'default' ]
|
|
image: windows-2022
|
|
extraCmakeArgs: '-T ClangCL'
|