Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .azure/pipelines/ci-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ stages:
jobName: Code_check
jobDisplayName: Code check
agentOs: Windows
# Need full history for git log comparison in CodeCheck.ps1
fetchDepth: 0
steps:
- powershell: ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
displayName: Run eng/scripts/CodeCheck.ps1
Expand Down
2 changes: 2 additions & 0 deletions .azure/pipelines/ci-unofficial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ extends:
jobName: Code_check
jobDisplayName: Code check
agentOs: Windows
# Need full history for git log comparison in CodeCheck.ps1
fetchDepth: 0
beforeBuild:
- script: git submodule update --init
displayName: Update submodules
Expand Down
2 changes: 2 additions & 0 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ extends:
jobName: Code_check
jobDisplayName: Code check
agentOs: Windows
# Need full history for git log comparison in CodeCheck.ps1
fetchDepth: 0
steps:
- powershell: ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
displayName: Run eng/scripts/CodeCheck.ps1
Expand Down
9 changes: 9 additions & 0 deletions .azure/pipelines/jobs/default-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ parameters:
timeoutInMinutes: 180
testRunTitle: $(AgentOsName)-$(BuildConfiguration)
useHostedUbuntu: true
# Checkout optimization parameters
fetchDepth: 1
fetchTags: false

# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build
Expand Down Expand Up @@ -159,6 +162,9 @@ jobs:
- name: ${{ pair.key }}
value: ${{ pair.value }}
steps:
- checkout: self
fetchDepth: ${{ parameters.fetchDepth }}
fetchTags: ${{ parameters.fetchTags }}
- ${{ if ne(parameters.agentOs, 'Windows') }}:
- script: df -h
displayName: Disk size
Expand Down Expand Up @@ -385,6 +391,9 @@ jobs:
- name: ${{ pair.key }}
value: ${{ pair.value }}
steps:
- checkout: self
fetchDepth: ${{ parameters.fetchDepth }}
fetchTags: ${{ parameters.fetchTags }}
- ${{ if ne(parameters.agentOs, 'Windows') }}:
- script: df -h
displayName: Disk size
Expand Down
Loading