Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kobets <dmitrykobets@microsoft.com>2021-12-08 22:13:49 +0300
committerDmitry Kobets <dmitrykobets@microsoft.com>2021-12-08 22:18:31 +0300
commit7b20794080b603ef37cd778d92507d5e1aa6c2fd (patch)
tree872e9f15baa9cdbe767166e2147217254a48f225
parent640cb1db9e06f70ebc54dfb663ea40d5c8c84882 (diff)
-rw-r--r--azure-pipelines.yml64
-rw-r--r--pipelines/steps.yml2
2 files changed, 5 insertions, 61 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 8ab761e..1401bde 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -4,71 +4,15 @@ trigger:
pr:
autoCancel: true
-# GCC
-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 ]
+stages:
# MSVC
- stage: MSVC
dependsOn: []
jobs:
- template: ./pipelines/jobs.yml
parameters:
- jobName: 'Validate MSVC latest'
+ jobName: 'Validate MSVC Clang'
imageName: windows-latest
- - template: ./pipelines/jobs.yml
- parameters:
- 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 ]
+ CXXVersions: [ 17 ]
+ buildTypes: [ 'Release' ]
diff --git a/pipelines/steps.yml b/pipelines/steps.yml
index 2e80713..dee3602 100644
--- a/pipelines/steps.yml
+++ b/pipelines/steps.yml
@@ -7,7 +7,7 @@ steps:
name: Configure
inputs:
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
name: Build