Skip to content

Commit

Permalink
Define run tests timeout for UB/SB CI (dotnet#40749)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons authored May 8, 2024
1 parent 87f3214 commit 9bb61fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@

# Area: VMR & SourceBuild
/.devcontainer/ @dotnet/source-build-internal
/eng/pipelines/ @dotnet/source-build-internal @dotnet/product-construction
/eng/SourceBuild* @dotnet/source-build-internal
/src/SourceBuild/ @dotnet/source-build-internal @dotnet/product-construction
/src/VirtualMonoRepo/ @dotnet/product-construction
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/templates/jobs/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ jobs:
value: N/A
- name: additionalBuildArgs
value: ''
- name: runTestsTimeout
value: 20

- ${{ if parameters.isBuiltFromVmr }}:
- name: vmrPath
Expand Down Expand Up @@ -250,6 +252,7 @@ jobs:
- script: |
call $(sourcesPath)\build.cmd -ci -prepareMachine -test /bl:artifacts/log/Release/Test.binlog /p:TargetOS=${{ parameters.targetOS }} /p:TargetArchitecture=${{ parameters.targetArchitecture }} ${{ parameters.extraProperties }}
displayName: Run Tests
timeoutInMinutes: ${{ variables.runTestsTimeout }}
- ${{ else }}:
- ${{ if eq(parameters.buildSourceOnly, 'true') }}:
Expand Down Expand Up @@ -405,6 +408,7 @@ jobs:
fi
displayName: Run Tests
timeoutInMinutes: ${{ variables.runTestsTimeout }}
- ${{ if eq(parameters.targetOS, 'windows') }}:

Expand Down

0 comments on commit 9bb61fb

Please sign in to comment.