diff options
author | Elinor Fung <elfung@microsoft.com> | 2021-07-29 08:45:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 08:45:28 +0300 |
commit | a943e3776ee4a2d51d6584af560d24378232fb8c (patch) | |
tree | 6ab9af3fb2ba961d858241467584eb5c7f71c02e /eng/pipelines/common/templates/runtimes/build-test-job.yml | |
parent | 87769fb4ab0e1ad0b29763b105fdd439c5b12e29 (diff) |
Pass excludemonofailures in managed test build job for mono (#56434)
* Pass excludemonofailures in managed test build job for mono
* Make test build scripts pass RuntimeFlavor when building tests (not just wrappers)
Diffstat (limited to 'eng/pipelines/common/templates/runtimes/build-test-job.yml')
-rw-r--r-- | eng/pipelines/common/templates/runtimes/build-test-job.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eng/pipelines/common/templates/runtimes/build-test-job.yml b/eng/pipelines/common/templates/runtimes/build-test-job.yml index 84cfd8e58ab..b2252563496 100644 --- a/eng/pipelines/common/templates/runtimes/build-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/build-test-job.yml @@ -98,6 +98,13 @@ jobs: - name: compilerArg value: '' + - name: runtimeFlavorArgs + value: '' + + - ${{ if eq(parameters.runtimeFlavor, 'mono') }}: + - name: runtimeFlavorArgs + value: '-excludemonofailures' + steps: # Install test build dependencies @@ -120,7 +127,7 @@ jobs: displayName: Disk Usage before Build # Build managed test components - - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) allTargets skipnative skipgeneratelayout skiptestwrappers $(buildConfig) $(archType) $(crossArg) $(priorityArg) ci $(librariesOverrideArg) + - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) allTargets skipnative skipgeneratelayout skiptestwrappers $(buildConfig) $(archType) $(runtimeFlavorArgs) $(crossArg) $(priorityArg) ci $(librariesOverrideArg) displayName: Build managed test components - ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}: |