Skip to content

Commit 1ee9351

Browse files
authored
Update azure-pipelines.yml
1 parent 702b8e7 commit 1ee9351

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

azure-pipelines.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,29 @@ stages:
356356
- script: .\tests\EndToEndBuildTests\EndToEndBuildTests.cmd -c Release
357357
displayName: End to end build tests
358358

359+
# Determinism, we want to run it only in PR builds
360+
- job: Determinism_Debug
361+
condition: eq(variables['Build.Reason'], 'PullRequest')
362+
variables:
363+
- name: _SignType
364+
value: Test
365+
pool:
366+
name: NetCore1ESPool-Public
367+
demands: ImageOverride -equals $(WindowsMachineQueueName)
368+
timeoutInMinutes: 90
369+
steps:
370+
- checkout: self
371+
clean: true
372+
- script: .\eng\test-determinism.cmd -configuration Debug
373+
displayName: Determinism tests with Debug configuration
374+
- task: PublishPipelineArtifact@1
375+
displayName: Publish Determinism Logs
376+
inputs:
377+
targetPath: '$(Build.SourcesDirectory)/artifacts/log/Debug'
378+
artifactName: 'Determinism_Debug Attempt $(System.JobAttempt) Logs'
379+
continueOnError: true
380+
condition: not(succeeded())
381+
359382
# Up-to-date - disabled due to it being flaky
360383
#- job: UpToDate_Windows
361384
# pool:

0 commit comments

Comments
 (0)