mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 01:01:58 -05:00
Trying MSVC LLVM
This commit is contained in:
parent
640cb1db9e
commit
7b20794080
@ -4,71 +4,15 @@ trigger:
|
|||||||
pr:
|
pr:
|
||||||
autoCancel: true
|
autoCancel: true
|
||||||
|
|
||||||
# GCC
|
|
||||||
stages:
|
stages:
|
||||||
- stage: GCC
|
|
||||||
dependsOn: []
|
|
||||||
variables:
|
|
||||||
- name: CC
|
|
||||||
value: gcc
|
|
||||||
- name: CXX
|
|
||||||
value: g++
|
|
||||||
jobs:
|
|
||||||
- template: ./pipelines/jobs.yml
|
|
||||||
parameters:
|
|
||||||
jobName: 'Validate GCC latest'
|
|
||||||
imageName: ubuntu-20.04
|
|
||||||
CXXVersions: [ 14, 17 ]
|
|
||||||
- template: ./pipelines/jobs.yml
|
|
||||||
parameters:
|
|
||||||
jobName: 'Validate GCC Previous'
|
|
||||||
imageName: ubuntu-18.04
|
|
||||||
CXXVersions: [ 14, 17 ]
|
|
||||||
|
|
||||||
# Clang
|
|
||||||
- stage: Clang
|
|
||||||
dependsOn: []
|
|
||||||
variables:
|
|
||||||
- name: CC
|
|
||||||
value: clang
|
|
||||||
- name: CXX
|
|
||||||
value: clang++
|
|
||||||
jobs:
|
|
||||||
- template: ./pipelines/jobs.yml
|
|
||||||
parameters:
|
|
||||||
jobName: 'Validate Clang latest'
|
|
||||||
imageName: ubuntu-20.04
|
|
||||||
- template: ./pipelines/jobs.yml
|
|
||||||
parameters:
|
|
||||||
jobName: 'Validate Clang Previous'
|
|
||||||
imageName: ubuntu-18.04
|
|
||||||
CXXVersions: [ 14, 17 ]
|
|
||||||
|
|
||||||
# MSVC
|
# MSVC
|
||||||
- stage: MSVC
|
- stage: MSVC
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
jobs:
|
jobs:
|
||||||
- template: ./pipelines/jobs.yml
|
- template: ./pipelines/jobs.yml
|
||||||
parameters:
|
parameters:
|
||||||
jobName: 'Validate MSVC latest'
|
jobName: 'Validate MSVC Clang'
|
||||||
imageName: windows-latest
|
imageName: windows-latest
|
||||||
- template: ./pipelines/jobs.yml
|
CXXVersions: [ 17 ]
|
||||||
parameters:
|
buildTypes: [ 'Release' ]
|
||||||
jobName: 'Validate MSVC Previous'
|
|
||||||
imageName: vs2017-win2016
|
|
||||||
CXXVersions: [ 14, 17 ]
|
|
||||||
|
|
||||||
# Apple-Clang
|
|
||||||
- stage: Apple_Clang
|
|
||||||
dependsOn: []
|
|
||||||
jobs:
|
|
||||||
- template: ./pipelines/jobs.yml
|
|
||||||
parameters:
|
|
||||||
jobName: 'Validate Apple-Clang latest'
|
|
||||||
imageName: macos-10.15
|
|
||||||
CXXVersions: [ 14, 17 ]
|
|
||||||
- template: ./pipelines/jobs.yml
|
|
||||||
parameters:
|
|
||||||
jobName: 'Validate Apple-Clang Previous'
|
|
||||||
imageName: macos-10.14
|
|
||||||
CXXVersions: [ 14, 17 ]
|
|
||||||
|
@ -7,7 +7,7 @@ steps:
|
|||||||
name: Configure
|
name: Configure
|
||||||
inputs:
|
inputs:
|
||||||
workingDirectory: build
|
workingDirectory: build
|
||||||
cmakeArgs: '-DGSL_CXX_STANDARD=${{ parameters.CXXVersion }} -DCMAKE_BUILD_TYPE=${{ parameters.buildType }} -DCI_TESTING:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -Werror=dev .. '
|
cmakeArgs: '-DGSL_CXX_STANDARD=${{ parameters.CXXVersion }} -T ClangCL -DCMAKE_BUILD_TYPE=${{ parameters.buildType }} -DCI_TESTING:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -Werror=dev .. '
|
||||||
|
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
name: Build
|
name: Build
|
||||||
|
Loading…
Reference in New Issue
Block a user