diff options
author | Hao Kung <HaoK@users.noreply.github.com> | 2022-03-11 13:28:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 13:28:00 +0300 |
commit | ae611bb49ee7d358e510e04cf05c804448a7b58a (patch) | |
tree | d6278d7acb2c60bc7e24ff05e1061439d1398490 | |
parent | 3855eb2dfd133a2a01047f156b3d41b2eb82f733 (diff) |
Update ci.ymlhaok/installers
-rw-r--r-- | .azure/pipelines/ci.yml | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index 403897969a..9c5e7efe4f 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -209,30 +209,18 @@ stages: $(WindowsArm64LogArgs) displayName: Build ARM64 - # Windows installers bundle x86/x64/arm64 assets - - script: ./eng/build.cmd - -ci - -noBuildRepoTasks - -buildInstallers - -noBuildNative - /p:DotNetSignType=$(_SignType) - $(_BuildArgs) - $(_InternalRuntimeDownloadArgs) - $(WindowsInstallersLogArgs) - displayName: Build Installers - # Submit a manual build (in public or internal project) to validate changes to site extensions. - - script: .\src\SiteExtensions\build.cmd - -ci - -noBuildRepoTasks - -pack - -sign - -noBuildDeps - -noBuildNative - $(_BuildArgs) - $(_InternalRuntimeDownloadArgs) - displayName: Build SiteExtension - + - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: + - script: .\src\SiteExtensions\build.cmd + -ci + -noBuildRepoTasks + -pack + -noBuildDeps + -noBuildNative + $(_BuildArgs) + $(_InternalRuntimeDownloadArgs) + displayName: Build SiteExtension + # This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If # https://github.com/dotnet/arcade/issues/1957 is resolved, consider running code-signing inline with the other # previous steps. Sign check is disabled because it is run in a separate step below, after installers are built. @@ -247,6 +235,19 @@ stages: $(WindowsSignLogArgs) displayName: Code sign packages + # Windows installers bundle x86/x64/arm64 assets + - script: ./eng/build.cmd + -ci + -noBuildRepoTasks + -sign + -buildInstallers + -noBuildNative + /p:DotNetSignType=$(_SignType) + $(_BuildArgs) + $(_InternalRuntimeDownloadArgs) + $(WindowsInstallersLogArgs) + displayName: Build Installers + # A few files must also go to the VS package feed. - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(variables.PostBuildSign, 'true')) }}: - task: NuGetCommand@2 @@ -269,7 +270,7 @@ stages: - name: Windows_ANCM path: artifacts/bin/ANCMv2 - name: Windows_ANCMIISExpress - path: artifacts/bin/AncmIISExpress + path: artifacts/bin/AncmIISExpressV2 # Build Windows ARM - template: jobs/default-build.yml |