Skip to content

Commit

Permalink
Revert "Revert "Revert "Remove testing stuff."""
Browse files Browse the repository at this point in the history
This reverts commit f7a2c2c.
  • Loading branch information
LoopedBard3 committed Aug 17, 2023
1 parent c07a9d7 commit 8e9b5ab
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
7 changes: 5 additions & 2 deletions eng/pipelines/coreclr/perf-non-wasm-jobs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
parameters:
TestHybridGlobalization: false

jobs:

- ${{ if and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')) }}:
- ${{ if or(and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')), parameters.TestHybridGlobalization) }}:

# build mono iOS scenarios HybridGlobalization
- template: /eng/pipelines/common/platform-matrix.yml
Expand Down Expand Up @@ -156,7 +159,7 @@ jobs:
iOSStripSymbols: True
hybridGlobalization: True

- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'Schedule')) }}:
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'Schedule'), eq(parameters.TestHybridGlobalization, false)) }}:

# build coreclr and libraries
- template: /eng/pipelines/common/platform-matrix.yml
Expand Down
3 changes: 2 additions & 1 deletion eng/pipelines/coreclr/perf-wasm-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ parameters:
downloadSpecificBuild: null # { buildId, pipeline, branchName, project }
collectHelixLogsScript: ''
perfForkToUse: {} # url, branch
TestHybridGlobalization: false

jobs:

Expand Down Expand Up @@ -172,7 +173,7 @@ jobs:
downloadSpecificBuild: ${{ parameters.downloadSpecificBuild }}
perfForkToUse: ${{ parameters.perfForkToUse }}

- ${{if and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')) }}:
- ${{if or(and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')), parameters.TestHybridGlobalization) }}:
# run mono wasm blazor perf job
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
Expand Down
11 changes: 10 additions & 1 deletion eng/pipelines/coreclr/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ trigger:
variables:
- template: /eng/pipelines/common/variables.yml

parameters:
- name: TestHybridGlobalization
type: boolean
default: true

#
# For the 'schedule' case, only wasm/jsc perf jobs are run.
# And the rest are build jobs - wasm, mono, coreclr, and libraries.
Expand All @@ -45,9 +50,13 @@ extends:
- template: /eng/pipelines/coreclr/perf-wasm-jobs.yml
parameters:
collectHelixLogsScript: ${{ variables._wasmCollectHelixLogsScript }}
${{ and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')) }}:
${{ or(and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')), parameters.TestHybridGlobalization) }}:
runProfile: 'non-v8'
TestHybridGlobalization: ${{ parameters.TestHybridGlobalization }}
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'Schedule')) }}:
runProfile: 'v8'
TestHybridGlobalization: ${{ parameters.TestHybridGlobalization }}

- template: /eng/pipelines/coreclr/perf-non-wasm-jobs.yml
parameters:
TestHybridGlobalization: ${{ parameters.TestHybridGlobalization }}

0 comments on commit 8e9b5ab

Please sign in to comment.