mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
fix test configuration
This commit is contained in:
@@ -1,9 +1,30 @@
|
|||||||
parameters:
|
parameters:
|
||||||
additionalBuildArguments: ''
|
configuration: 'Release'
|
||||||
|
platform: ''
|
||||||
|
additionalBuildArguments: '/p:RestorePackagesConfig=true -m'
|
||||||
|
|
||||||
steps:
|
jobs:
|
||||||
- checkout: self
|
- job: Build${{ parameters.platform }}${{ parameters.configuration }}
|
||||||
fetchDepth: 1
|
displayName: Run UI tests ${{ parameters.platform }} ${{ parameters.configuration }}
|
||||||
submodules: true
|
dependsOn: Precheck
|
||||||
- bash: |
|
condition: and(succeeded(),ne(dependencies.Precheck.outputs['verifyBuildRequest.skipBuild'], 'Yes'))
|
||||||
echo "##[debug]Debug text"
|
variables:
|
||||||
|
BuildConfiguration: ${{ parameters.configuration }}
|
||||||
|
BuildPlatform: ${{ parameters.platform }}
|
||||||
|
NUGET_RESTORE_MSBUILD_ARGS: /p:Platform=${{ parameters.platform }} # Required for nuget to work due to self contained
|
||||||
|
NODE_OPTIONS: --max_old_space_size=16384
|
||||||
|
pool:
|
||||||
|
demands: ImageOverride -equals SHINE-VS17-Latest
|
||||||
|
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
||||||
|
name: SHINE-OSS-L
|
||||||
|
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
||||||
|
name: SHINE-INT-L
|
||||||
|
timeoutInMinutes: 120
|
||||||
|
strategy:
|
||||||
|
maxParallel: 10
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
fetchDepth: 1
|
||||||
|
submodules: true
|
||||||
|
- bash: |
|
||||||
|
echo "##[debug]Debug text"
|
||||||
Reference in New Issue
Block a user