From 2e0eea8da304a75208b8d18df9725b4ce140d49b Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Mon, 24 May 2021 21:31:56 -0700 Subject: [PATCH 1/2] Publish additional files in official CI build --- .vsts-ci.yml | 2 +- eng/Publishing.props | 13 +++++++++---- src/workloads/workloads.csproj | 10 ++++------ 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 69a774fc2..d03c66ea7 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -103,7 +103,7 @@ stages: _DOTNET_CLI_UI_LANGUAGE: '' # This is a very specific build process and MUST be built using .NET Framework MSBuild # because of build task dependencies for Visual Studio. - _AdditionalBuildParameters: '-project src\workloads\workloads.csproj -msbuildEngine vs' + _AdditionalBuildParameters: '-project src\workloads\workloads.csproj -msbuildEngine vs /p:OptionalWorkloads=true' # Never run tests for workloads _TestArg: '' diff --git a/eng/Publishing.props b/eng/Publishing.props index d4f6a188e..85ab36c94 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -75,20 +75,24 @@ + Condition=" '$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true' and '$(OptionalWorkloads)' != 'true'" /> + Condition=" '$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true' and '$(OptionalWorkloads)' != 'true'" /> + + - - + + @@ -125,6 +129,7 @@ + diff --git a/src/workloads/workloads.csproj b/src/workloads/workloads.csproj index b74190a8c..c775088a7 100644 --- a/src/workloads/workloads.csproj +++ b/src/workloads/workloads.csproj @@ -22,8 +22,6 @@ $(ArtifactsObjDir)workloads\ $(ArtifactsBinDir)workloads\ - $(ArtifactsDir)VSSetup\$(Configuration)\Insertion\ - $(WorkloadIntermediateOutputPath)packages\ @@ -110,7 +108,7 @@ - + @@ -120,7 +118,7 @@ - + @@ -154,7 +152,7 @@ - + @@ -162,7 +160,7 @@ - + From 487ff77b3e223c1ee4530a40d717725bd03d1aef Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Mon, 24 May 2021 21:42:22 -0700 Subject: [PATCH 2/2] Exclude .sha file --- eng/Publishing.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index 85ab36c94..a23162faf 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -91,8 +91,8 @@ - - + +