Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move UWP PRs to hosted machines #2562

Merged
merged 3 commits into from
Jun 5, 2019
Merged
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
17 changes: 14 additions & 3 deletions .ado/windows-vs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
BuildConfiguration: Release
BuildPlatform: arm
pool:
name: OE Standard Pool
demands: ['VisualStudio_15.0', 'OnPrem -equals False']
vmImage: vs2017-win2016
timeoutInMinutes: 120 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
steps:
Expand All @@ -41,7 +40,19 @@ jobs:
submodules: false # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
persistCredentials: false # set to 'true' to leave the OAuth token in the Git config after the initial fetch

- template: templates/npm-install-and-build.yml
- task: CmdLine@2
displayName: yarn install
inputs:
script: yarn install --frozen-lockfile
workingDirectory: vnext

- template: templates/stop-packagers.yml

- task: CmdLine@2
displayName: yarn build
inputs:
script: yarn build
workingDirectory: vnext

- task: NuGetCommand@2
displayName: NuGet restore - ReactWindows-UWP
Expand Down