|
1 | 1 | jobs:
|
2 |
| - - job: Windows |
| 2 | + - job: Windows_Build |
3 | 3 | dependsOn: GetReleaseVersion
|
4 | 4 | timeoutInMinutes: 180
|
5 | 5 | strategy:
|
|
67 | 67 | - filename: RELEASES$(FileID)
|
68 | 68 | dir: $(Build.SourcesDirectory)/out
|
69 | 69 | condition: and(succeeded(), eq(variables['IsReleaseBranch'], 'true'))
|
| 70 | + |
| 71 | + - job: Windows_RendererTests |
| 72 | + dependsOn: Windows_Build |
| 73 | + timeoutInMinutes: 180 |
| 74 | + strategy: |
| 75 | + maxParallel: 2 |
| 76 | + matrix: |
| 77 | + x64_Renderer_Test1: |
| 78 | + RunCoreMainTests: false |
| 79 | + RunCoreRendererTests: 1 |
| 80 | + buildArch: x64 |
| 81 | + x64_Renderer_Test2: |
| 82 | + RunCoreMainTests: false |
| 83 | + RunCoreRendererTests: 2 |
| 84 | + buildArch: x64 |
| 85 | + |
| 86 | + pool: |
| 87 | + vmImage: vs2017-win2016 |
| 88 | + |
| 89 | + variables: |
| 90 | + AppName: $[ dependencies.GetReleaseVersion.outputs['Version.AppName'] ] |
| 91 | + ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ] |
| 92 | + IsReleaseBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsReleaseBranch'] ] |
| 93 | + IsSignedZipBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsSignedZipBranch'] ] |
| 94 | + |
| 95 | + steps: |
| 96 | + - template: templates/preparation.yml |
| 97 | + |
| 98 | + - template: templates/cache.yml |
| 99 | + parameters: |
| 100 | + OS: windows |
| 101 | + |
| 102 | + # Downloading the build artifacts |
| 103 | + - pwsh: | |
| 104 | + if ($env:BUILD_ARCH -eq "x64") { |
| 105 | + $env:FileID="-x64" |
| 106 | + echo "##vso[task.setvariable variable=FileID]$env:FileID" # Azure syntax |
| 107 | + } |
| 108 | + env: |
| 109 | + BUILD_ARCH: $(buildArch) |
| 110 | + displayName: Set FileID based on the arch |
| 111 | +
|
| 112 | + - template: templates/download-unzip.yml |
| 113 | + parameters: |
| 114 | + artifacts: |
| 115 | + - atom$(FileID)-windows.zip |
| 116 | + |
| 117 | + # Core renderer tests |
| 118 | + - template: templates/test.yml |
0 commit comments