This commit is contained in:
George Arama 2022-10-27 14:25:08 -07:00
Родитель 38e50f0236
Коммит afbeaf0c47
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -137,7 +137,7 @@ jobs:
ServiceDirectory: ${{ parameters.ServiceDirectory }}
TestPipeline: ${{ parameters.TestPipeline }}
- ${{ if or(contains(variables['CMakeArgs'], 'BUILD_TESTING'),contains(variables['CMakeArgs'], 'BUILD_PERFORMANCE_TESTS')) }}:
- ${{ if or(contains(variables['CmakeArgs'], 'BUILD_TESTING'),contains(variables['CmakeArgs'], 'BUILD_PERFORMANCE_TESTS')) }}:
- template: /eng/pipelines/templates/steps/cmake-build.yml
parameters:
ServiceDirectory: ${{ parameters.ServiceDirectory }}

Просмотреть файл

@ -114,7 +114,8 @@ jobs:
# CODE_COVERAGE variable is '' (do-not-generate) in all matrix but linux-gcc
# It is 'enabled' by default on linux-gcc but it can be opt-out by each pipeline (disabled)
condition: and(succeededOrFailed(), ne(variables['CODE_COVERAGE'], 'disabled'), ne(variables['CODE_COVERAGE'], ''))
- ${{ if or(contains(variables['CMakeArgs'], 'BUILD_TESTING'),contains(variables['CMakeArgs'], 'BUILD_PERFORMANCE_TESTS')) }}:
- ${{ if or(contains(variables['CmakeArgs'], 'BUILD_TESTING'),contains(variables['CmakeArgs'], 'BUILD_PERFORMANCE_TESTS')) }}:
- template: /eng/pipelines/templates/steps/cmake-build.yml
parameters:
ServiceDirectory: ${{ parameters.ServiceDirectory }}