mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-10 10:00:57 +09:00
Add runtimeFlavor parameter to build-test-job.yml (#35377)
This commit is contained in:
parent
832267e7d8
commit
5959364086
4 changed files with 4 additions and 4 deletions
|
@ -19,6 +19,7 @@ parameters:
|
||||||
stagedBuild: false
|
stagedBuild: false
|
||||||
variables: {}
|
variables: {}
|
||||||
pool: ''
|
pool: ''
|
||||||
|
runtimeFlavor: 'coreclr'
|
||||||
runtimeFlavorDisplayName: 'CoreCLR'
|
runtimeFlavorDisplayName: 'CoreCLR'
|
||||||
|
|
||||||
### Build managed test components (native components are getting built as part
|
### Build managed test components (native components are getting built as part
|
||||||
|
|
|
@ -21,6 +21,7 @@ parameters:
|
||||||
runInUnloadableContext: false
|
runInUnloadableContext: false
|
||||||
variables: {}
|
variables: {}
|
||||||
pool: ''
|
pool: ''
|
||||||
|
runtimeFlavor: 'coreclr'
|
||||||
runtimeFlavorDisplayName: 'CoreCLR'
|
runtimeFlavorDisplayName: 'CoreCLR'
|
||||||
|
|
||||||
### Test run job
|
### Test run job
|
||||||
|
|
|
@ -11,9 +11,9 @@ parameters:
|
||||||
jobs:
|
jobs:
|
||||||
- template: ${{ coalesce(parameters.helixQueuesTemplate, parameters.jobTemplate) }}
|
- template: ${{ coalesce(parameters.helixQueuesTemplate, parameters.jobTemplate) }}
|
||||||
parameters:
|
parameters:
|
||||||
${{ if eq(parameters.runtimeFlavor, 'coreclr') }}:
|
${{ if eq(parameters.jobParameters.runtimeFlavor, 'coreclr') }}:
|
||||||
runtimeFlavorDisplayName: 'CoreCLR'
|
runtimeFlavorDisplayName: 'CoreCLR'
|
||||||
${{ if eq(parameters.runtimeFlavor, 'mono') }}:
|
${{ if eq(parameters.jobParameters.runtimeFlavor, 'mono') }}:
|
||||||
runtimeFlavorDisplayName: 'Mono'
|
runtimeFlavorDisplayName: 'Mono'
|
||||||
variables:
|
variables:
|
||||||
# Disable component governance in our CI builds. These builds are not shipping nor
|
# Disable component governance in our CI builds. These builds are not shipping nor
|
||||||
|
|
|
@ -672,7 +672,6 @@ jobs:
|
||||||
testGroup: innerloop
|
testGroup: innerloop
|
||||||
liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
|
liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
|
||||||
liveRuntimeBuildConfig: release
|
liveRuntimeBuildConfig: release
|
||||||
runtimeFlavorDisplayName: 'Mono'
|
|
||||||
condition: >-
|
condition: >-
|
||||||
or(
|
or(
|
||||||
eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true),
|
eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true),
|
||||||
|
@ -694,7 +693,6 @@ jobs:
|
||||||
testGroup: innerloop
|
testGroup: innerloop
|
||||||
liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
|
liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
|
||||||
liveRuntimeBuildConfig: release
|
liveRuntimeBuildConfig: release
|
||||||
runtimeFlavorDisplayName: 'Mono'
|
|
||||||
condition: >-
|
condition: >-
|
||||||
or(
|
or(
|
||||||
eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true),
|
eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue