-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add runtime-community.yml pipeline and add s390x job
- Loading branch information
1 parent
2880cc1
commit 5670297
Showing
4 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
schedules: | ||
- cron: "0 7,19 * * *" # run at 7:00 and 19:00 (UTC) which is 23:00 and 11:00 (PST). | ||
displayName: Runtime-community default schedule | ||
branches: | ||
include: | ||
- main | ||
always: false # run only if there were changes since the last successful scheduled run. | ||
|
||
pr: | ||
branches: | ||
include: | ||
- main | ||
- release/*.* | ||
paths: | ||
include: | ||
- '*' | ||
- docs/manpages/* | ||
exclude: | ||
- eng/Version.Details.xml | ||
- .github/* | ||
- docs/* | ||
- CODE-OF-CONDUCT.md | ||
- CONTRIBUTING.md | ||
- LICENSE.TXT | ||
- PATENTS.TXT | ||
- README.md | ||
- SECURITY.md | ||
- THIRD-PARTY-NOTICES.TXT | ||
|
||
variables: | ||
- template: /eng/pipelines/common/variables.yml | ||
|
||
jobs: | ||
# | ||
# Evaluate paths | ||
# | ||
- ${{ if eq(variables.dependOnEvaluatePaths, true) }}: | ||
- template: /eng/pipelines/common/evaluate-default-paths.yml | ||
|
||
# | ||
# s390x | ||
# Build the whole product using Mono and run libraries tests | ||
# | ||
- template: /eng/pipelines/common/platform-matrix.yml | ||
parameters: | ||
jobTemplate: /eng/pipelines/common/global-build-job.yml | ||
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml | ||
buildConfig: Release | ||
runtimeFlavor: mono | ||
platforms: | ||
- Linux_s390x | ||
variables: | ||
# map dependencies variables to local variables | ||
- name: librariesContainsChange | ||
value: $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ] | ||
- name: monoContainsChange | ||
value: $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ] | ||
jobParameters: | ||
testGroup: innerloop | ||
nameSuffix: AllSubsets_Mono | ||
buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true | ||
timeoutInMinutes: 180 | ||
condition: >- | ||
or( | ||
eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), | ||
eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), | ||
eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), | ||
eq(variables['isFullMatrix'], true)) | ||
# extra steps, run tests | ||
extraStepsTemplate: /eng/pipelines/libraries/helix.yml | ||
extraStepsParameters: | ||
creator: dotnet-bot | ||
testRunNamePrefixSuffix: Mono_$(_BuildConfig) | ||
condition: >- | ||
or( | ||
eq(variables['librariesContainsChange'], true), | ||
eq(variables['monoContainsChange'], true), | ||
eq(variables['isFullMatrix'], true)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters