Skip to content

Commit

Permalink
reduce build flavors for RNWUniversalPR (#3773)
Browse files Browse the repository at this point in the history
* reduce build flavours

* reenable DesktopPR

* \\

* Update .ado/windows-vs-pr.yml
  • Loading branch information
licanhua authored and msftbot[bot] committed Dec 19, 2019
1 parent dfb1850 commit 85e6382
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions .ado/windows-vs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ jobs:
condition: ne( dependencies.Setup.outputs['checkPayload.shouldSkipPRBuild'], 'True' )
strategy:
matrix:
X64Debug:
BuildConfiguration: Debug
BuildPlatform: x64
UseRNFork: true
LayoutHeaders: true
X64Release:
BuildConfiguration: Release
BuildPlatform: x64
UseRNFork: true
ArmDebug:
BuildConfiguration: Debug
BuildPlatform: arm
UseRNFork: true
X86Debug:
BuildConfiguration: Debug
BuildPlatform: x86
UseRNFork: true
#X64Debug:
# BuildConfiguration: Debug
# BuildPlatform: x64
# UseRNFork: true
# LayoutHeaders: true
#X64Release:
# BuildConfiguration: Release
# BuildPlatform: x64
# UseRNFork: true
#ArmDebug:
# BuildConfiguration: Debug
# BuildPlatform: arm
# UseRNFork: true
#X86Debug:
# BuildConfiguration: Debug
# BuildPlatform: x86
# UseRNFork: true
X86Release:
BuildConfiguration: Release
BuildPlatform: x86
Expand Down Expand Up @@ -581,4 +581,12 @@ jobs:
inputs:
versionSpec: ">=4.6.0"

# Exclude ReactUWP from nuget because we didn't build all the flavours.
- task: PowerShell@2
displayName: Exclude ReactUWP from ReactUwp.nuspec
inputs:
targetType: inline # filePath | inline
script: |
((Get-Content -path vnext\Scripts\ReactUwp.nuspec -Raw) -replace ".*ReactUWP\\React.UWP.*","") | Set-Content -Path vnext\Scripts\ReactUwp.nuspec
- template: templates/prep-and-pack-nuget.yml

0 comments on commit 85e6382

Please sign in to comment.