Fix signing in PR runs (#31926)
authorTomáš Rylek <trylek@microsoft.com>
Mon, 10 Feb 2020 23:23:25 +0000 (00:23 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2020 23:23:25 +0000 (00:23 +0100)
Make URCT copying unconditional to unblock installer tasks in debug
mode.

Thanks

Tomas

eng/pipelines/installer/jobs/base-job.yml
src/coreclr/src/build.proj

index 952a51eaac46f9c7349f44b61fcc6af3eaffc502..60e766303adc72aba04481440c72751f7e4e87fb 100644 (file)
@@ -68,12 +68,8 @@ jobs:
       eq(parameters.isOfficialBuild, true),
       ne(parameters.crossrootfsDir, '')) }}
 
-  # TODO: (Consolidation) Enable test signing during PR validation. https://github.com/dotnet/runtime/issues/1026
-  #
-  # CoreCLR only produces the UCRT redist file in Release config. When the redist file isn't
-  # present, signing fails. For now, only sign in official builds which only run Release mode.
   - name: SignType
-    value: ''
+    value: test
 
   # Set up non-PR build from internal project
   - ${{ if eq(parameters.isOfficialBuild, true) }}:
index 4cf380346a271db9dc41203d1fcf6e9b2757e5ed..af6a867b6d9b3bd5b7d08a7d5b6b28bb7fbf6683 100644 (file)
@@ -20,7 +20,7 @@
       <UcrtFilesToCopy Include="$(UniversalCRTSDKDir)Redist\ucrt\DLLs\$(BuildArch)\*.dll" />
     </ItemGroup>
 
-    <Copy Condition="'$(BuildType)'=='Release' AND '$(BuildArch)' != 'arm64'"
+    <Copy Condition="'$(BuildArch)' != 'arm64'"
         SourceFiles="@(UcrtFilesToCopy)"
         DestinationFolder="$(BinDir)Redist\ucrt\DLLs\$(BuildArch)" />
   </Target>