Skip to content
Open
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
45 changes: 23 additions & 22 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,16 +259,17 @@ stages:
helixApiAccessToken: $(HelixApiAccessToken)
poolParameters: ${{ parameters.windowsPool }}

- template: eng/pipelines/test-windows-job.yml
parameters:
testRunName: 'Test Windows Desktop Spanish Release 64'
jobName: Test_Windows_Desktop_Spanish_Release_64
testArtifactName: Transport_Artifacts_Windows_Release
configuration: Release
testArguments: -testDesktop -testArch x64
helixQueueName: $(HelixWindowsSpanishQueueName)
helixApiAccessToken: $(HelixApiAccessToken)
poolParameters: ${{ parameters.windowsPool }}
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- template: eng/pipelines/test-windows-job.yml
parameters:
testRunName: 'Test Windows Desktop Spanish Release 64'
jobName: Test_Windows_Desktop_Spanish_Release_64
testArtifactName: Transport_Artifacts_Windows_Release
configuration: Release
testArguments: -testDesktop -testArch x64
helixQueueName: $(HelixWindowsSpanishQueueName)
helixApiAccessToken: $(HelixApiAccessToken)
poolParameters: ${{ parameters.windowsPool }}

- stage: Windows_Debug_CoreClr
dependsOn: Windows_Debug_Build
Expand Down Expand Up @@ -378,15 +379,15 @@ stages:
helixApiAccessToken: $(HelixApiAccessToken)
poolParameters: ${{ parameters.ubuntuPool }}

- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- template: eng/pipelines/test-unix-job-single-machine.yml
parameters:
testRunName: 'Test Linux Debug Single Machine'
jobName: Test_Linux_Debug_Single_Machine
testArtifactName: Transport_Artifacts_Unix_Debug
configuration: Debug
testArguments: --testCoreClr
poolParameters: ${{ parameters.ubuntuPool }}
- template: eng/pipelines/test-unix-job-single-machine.yml
parameters:
testRunName: 'Test Linux Debug Spanish Single Machine'
jobName: Test_Linux_Debug_Spanish_Single_Machine
testArtifactName: Transport_Artifacts_Unix_Debug
configuration: Debug
testArguments: --testCoreClr
poolParameters: ${{ parameters.ubuntuPool }}
locale: es_ES.UTF-8

- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- stage: MacOS_Debug_CoreClr
Expand All @@ -402,7 +403,7 @@ stages:
jobName: Test_macOS_Debug
testArtifactName: Transport_Artifacts_macOS_Debug
configuration: Debug
testArguments: --testCoreClr
testArguments: --testCoreClr
helixQueueName: $(HelixMacOsQueueName)
helixApiAccessToken: $(HelixApiAccessToken)
poolParameters: ${{ parameters.ubuntuPool }}
Expand Down Expand Up @@ -448,7 +449,7 @@ stages:
steps:
- template: eng/pipelines/checkout-windows-task.yml

- powershell: eng/build.ps1 -configuration Release -prepareMachine -ci -restore -binaryLogName Restore.binlog
- powershell: eng/build.ps1 -configuration Release -prepareMachine -ci -restore -binaryLogName Restore.binlog
displayName: Restore

# We additionally restore during the build because the Microsoft.DotNet.Build.Tasks.Feed package only restores when we pass `-publish`. See https://github.com/dotnet/arcade/blob/37ccfd66358af6a37a0ec385ec31d1d71bdd8723/src/Microsoft.DotNet.Arcade.Sdk/tools/Tools.proj#L61-L66
Expand Down Expand Up @@ -491,7 +492,7 @@ stages:
custom: 'run'
arguments: '--file $(Build.SourcesDirectory)/eng/ensure-sources-synced.cs'

- powershell: eng/validate-code-formatting.ps1 -ci -rootDirectory $(Build.SourcesDirectory)\src -includeDirectories Compilers\CSharp\Portable\Generated\, Compilers\VisualBasic\Portable\Generated\, ExpressionEvaluator\VisualBasic\Source\ResultProvider\Generated\
- powershell: eng/validate-code-formatting.ps1 -ci -rootDirectory $(Build.SourcesDirectory)\src -includeDirectories Compilers\CSharp\Portable\Generated\, Compilers\VisualBasic\Portable\Generated\, ExpressionEvaluator\VisualBasic\Source\ResultProvider\Generated\
displayName: Validate Generated Syntax Files
condition: or(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['compilerChange'], 'true'))

Expand Down
12 changes: 11 additions & 1 deletion eng/pipelines/test-unix-job-single-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ parameters:
default: ''
- name: poolParameters
type: object
- name: locale
type: string
default: ''

jobs:
- job: ${{ parameters.jobName }}
Expand All @@ -25,6 +28,8 @@ jobs:
variables:
DOTNET_ROLL_FORWARD: LatestMajor
DOTNET_ROLL_FORWARD_TO_PRERELEASE: 1
${{ if ne(parameters.locale, '') }}:
LC_ALL: ${{ parameters.locale }}
steps:
- checkout: none

Expand All @@ -33,12 +38,17 @@ jobs:
inputs:
artifact: ${{ parameters.testArtifactName }}
path: '$(Build.SourcesDirectory)'

- task: ShellScript@2
displayName: Rehydrate Unit Tests Environment
inputs:
scriptPath: ./rehydrate-all.sh

- script: |
sudo locale-gen ${{ parameters.locale }}
displayName: Generate Locale
condition: ne('${{ parameters.locale }}', '')

- task: ShellScript@2
inputs:
scriptPath: ./eng/build.sh
Expand Down
Loading