|
| 1 | +trigger: none |
| 2 | + |
| 3 | +schedules: |
| 4 | + - cron: "0 7,19 * * *" # run at 7:00 and 19:00 (UTC) which is 23:00 and 11:00 (PST). |
| 5 | + displayName: Runtime-community default schedule |
| 6 | + branches: |
| 7 | + include: |
| 8 | + - main |
| 9 | + always: false # run only if there were changes since the last successful scheduled run. |
| 10 | + |
| 11 | +variables: |
| 12 | + - template: /eng/pipelines/common/variables.yml |
| 13 | + |
| 14 | +jobs: |
| 15 | +# |
| 16 | +# Evaluate paths |
| 17 | +# |
| 18 | +- ${{ if eq(variables.dependOnEvaluatePaths, true) }}: |
| 19 | + - template: /eng/pipelines/common/evaluate-default-paths.yml |
| 20 | + |
| 21 | +# |
| 22 | +# s390x |
| 23 | +# Build the whole product using Mono and run libraries tests |
| 24 | +# |
| 25 | +- template: /eng/pipelines/common/platform-matrix.yml |
| 26 | + parameters: |
| 27 | + jobTemplate: /eng/pipelines/common/global-build-job.yml |
| 28 | + helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml |
| 29 | + buildConfig: Release |
| 30 | + runtimeFlavor: mono |
| 31 | + platforms: |
| 32 | + - Linux_s390x |
| 33 | + variables: |
| 34 | + # map dependencies variables to local variables |
| 35 | + - name: librariesContainsChange |
| 36 | + value: $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ] |
| 37 | + - name: monoContainsChange |
| 38 | + value: $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ] |
| 39 | + jobParameters: |
| 40 | + testGroup: innerloop |
| 41 | + nameSuffix: AllSubsets_Mono |
| 42 | + buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true |
| 43 | + timeoutInMinutes: 180 |
| 44 | + condition: >- |
| 45 | + or( |
| 46 | + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), |
| 47 | + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), |
| 48 | + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), |
| 49 | + eq(variables['isFullMatrix'], true)) |
| 50 | + # extra steps, run tests |
| 51 | + extraStepsTemplate: /eng/pipelines/libraries/helix.yml |
| 52 | + extraStepsParameters: |
| 53 | + creator: dotnet-bot |
| 54 | + testRunNamePrefixSuffix: Mono_$(_BuildConfig) |
| 55 | + condition: >- |
| 56 | + or( |
| 57 | + eq(variables['librariesContainsChange'], true), |
| 58 | + eq(variables['monoContainsChange'], true), |
| 59 | + eq(variables['isFullMatrix'], true)) |
0 commit comments