File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
eng/pipelines/templates/stages
src/SourceBuild/content/repo-projects Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -374,6 +374,16 @@ stages:
374
374
targetOS : linux
375
375
targetArchitecture : x64
376
376
377
+ - template : ../jobs/vmr-build.yml
378
+ parameters :
379
+ buildName : Windows_BuildTests
380
+ isBuiltFromVmr : ${{ parameters.isBuiltFromVmr }}
381
+ vmrBranch : ${{ variables.VmrBranch }}
382
+ pool : ${{ parameters.pool_Windows }}
383
+ targetOS : windows
384
+ targetArchitecture : x64
385
+ extraProperties : /p:DotNetBuildTests=true
386
+
377
387
# ### VERTICAL BUILD (Official) ####
378
388
- ${{ if not(parameters.isSourceOnlyBuild) }} :
379
389
- stage : VMR_Vertical_Build
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<LogVerbosityOptOut >true</LogVerbosityOptOut >
5
5
6
+ <!-- Tests are only building on Windows - https://github.com/dotnet/source-build/issues/4882 -->
7
+ <DotNetBuildTestsOptOut Condition =" '$(OS)' != 'Windows_NT'" >true</DotNetBuildTestsOptOut >
8
+
6
9
<BuildArgs Condition =" '$(TargetOS)' == 'windows'" >$(BuildArgs) -nativeToolsOnMachine</BuildArgs >
7
10
<BuildArgs >$(BuildArgs) /p:PackageProjectUrl=https://github.com/dotnet/sdk</BuildArgs >
8
11
<BuildArgs >$(BuildArgs) /p:PortableRid=$(PortableRid)</BuildArgs >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<LogVerbosityOptOut >true</LogVerbosityOptOut >
5
5
6
+ <!-- Tests are failing to build: https://github.com/dotnet/source-build/issues/4875 -->
7
+ <DotNetBuildTestsOptOut >true</DotNetBuildTestsOptOut >
8
+
6
9
<BuildArgs >$(BuildArgs) $(FlagParameterPrefix)v $(LogVerbosity)</BuildArgs >
7
10
<BuildArgs >$(BuildArgs) $(FlagParameterPrefix)NativeToolsOnMachine</BuildArgs >
8
11
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments