|
|
@@ -32,6 +32,8 @@ variables:
|
|
|
value: .NETCORE
|
|
|
- name: _DotNetValidationArtifactsCategory
|
|
|
value: .NETCORE
|
|
|
+- name: PostBuildSign
|
|
|
+ value: false
|
|
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
- name: _BuildArgs
|
|
|
value: /p:TeamName=$(_TeamName)
|
|
|
@@ -349,9 +351,11 @@ stages:
|
|
|
includeForks: true
|
|
|
- name: MacOS_x64_Packages
|
|
|
path: artifacts/packages/
|
|
|
- - template: jobs/codesign-xplat.yml
|
|
|
- parameters:
|
|
|
- inputName: MacOS_x64
|
|
|
+
|
|
|
+ - ${{ if ne(variables['PostBuildSign'], 'true') }}:
|
|
|
+ - template: jobs/codesign-xplat.yml
|
|
|
+ parameters:
|
|
|
+ inputName: MacOS_x64
|
|
|
|
|
|
# Build Linux x64
|
|
|
- template: jobs/default-build.yml
|
|
|
@@ -369,7 +373,9 @@ stages:
|
|
|
--no-build-nodejs
|
|
|
--no-build-java
|
|
|
-p:OnlyPackPlatformSpecificPackages=true
|
|
|
+ -p:AssetManifestFileName=aspnetcore-Linux_x64.xml
|
|
|
$(_BuildArgs)
|
|
|
+ $(_PublishArgs)
|
|
|
$(_InternalRuntimeDownloadArgs)
|
|
|
displayName: Run build.sh
|
|
|
- script: |
|
|
|
@@ -399,7 +405,7 @@ stages:
|
|
|
-p:OnlyPackPlatformSpecificPackages=true \
|
|
|
-p:BuildRuntimeArchive=false \
|
|
|
-p:LinuxInstallerType=rpm \
|
|
|
- -p:AssetManifestFileName=aspnetcore-Linux_x64.xml \
|
|
|
+ -p:AssetManifestFileName=aspnetcore-Linux_x64-installers.xml \
|
|
|
$(_BuildArgs) \
|
|
|
$(_PublishArgs) \
|
|
|
$(_InternalRuntimeDownloadArgs)
|
|
|
@@ -413,9 +419,11 @@ stages:
|
|
|
includeForks: true
|
|
|
- name: Linux_x64_Packages
|
|
|
path: artifacts/packages/
|
|
|
- - template: jobs/codesign-xplat.yml
|
|
|
- parameters:
|
|
|
- inputName: Linux_x64
|
|
|
+
|
|
|
+ - ${{ if ne(variables['PostBuildSign'], 'true') }}:
|
|
|
+ - template: jobs/codesign-xplat.yml
|
|
|
+ parameters:
|
|
|
+ inputName: Linux_x64
|
|
|
|
|
|
# Build Linux ARM
|
|
|
- template: jobs/default-build.yml
|
|
|
@@ -443,9 +451,11 @@ stages:
|
|
|
includeForks: true
|
|
|
- name: Linux_arm_Packages
|
|
|
path: artifacts/packages/
|
|
|
- - template: jobs/codesign-xplat.yml
|
|
|
- parameters:
|
|
|
- inputName: Linux_arm
|
|
|
+
|
|
|
+ - ${{ if ne(variables['PostBuildSign'], 'true') }}:
|
|
|
+ - template: jobs/codesign-xplat.yml
|
|
|
+ parameters:
|
|
|
+ inputName: Linux_arm
|
|
|
|
|
|
# Build Linux ARM64
|
|
|
- template: jobs/default-build.yml
|
|
|
@@ -473,9 +483,11 @@ stages:
|
|
|
includeForks: true
|
|
|
- name: Linux_arm64_Packages
|
|
|
path: artifacts/packages/
|
|
|
- - template: jobs/codesign-xplat.yml
|
|
|
- parameters:
|
|
|
- inputName: Linux_arm64
|
|
|
+
|
|
|
+ - ${{ if ne(variables['PostBuildSign'], 'true') }}:
|
|
|
+ - template: jobs/codesign-xplat.yml
|
|
|
+ parameters:
|
|
|
+ inputName: Linux_arm64
|
|
|
|
|
|
# Build Linux Musl x64
|
|
|
- template: jobs/default-build.yml
|
|
|
@@ -507,9 +519,11 @@ stages:
|
|
|
includeForks: true
|
|
|
- name: Linux_musl_x64_Packages
|
|
|
path: artifacts/packages/
|
|
|
- - template: jobs/codesign-xplat.yml
|
|
|
- parameters:
|
|
|
- inputName: Linux_musl_x64
|
|
|
+
|
|
|
+ - ${{ if ne(variables['PostBuildSign'], 'true') }}:
|
|
|
+ - template: jobs/codesign-xplat.yml
|
|
|
+ parameters:
|
|
|
+ inputName: Linux_musl_x64
|
|
|
|
|
|
# Build Linux Musl ARM64
|
|
|
- template: jobs/default-build.yml
|
|
|
@@ -541,9 +555,11 @@ stages:
|
|
|
includeForks: true
|
|
|
- name: Linux_musl_arm64_Packages
|
|
|
path: artifacts/packages/
|
|
|
- - template: jobs/codesign-xplat.yml
|
|
|
- parameters:
|
|
|
- inputName: Linux_musl_arm64
|
|
|
+
|
|
|
+ - ${{ if ne(variables['PostBuildSign'], 'true') }}:
|
|
|
+ - template: jobs/codesign-xplat.yml
|
|
|
+ parameters:
|
|
|
+ inputName: Linux_musl_arm64
|
|
|
|
|
|
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
# Test jobs
|
|
|
@@ -734,12 +750,13 @@ stages:
|
|
|
- Windows_build
|
|
|
- Windows_arm_build
|
|
|
- Windows_arm64_build
|
|
|
- - CodeSign_Xplat_MacOS_x64
|
|
|
- - CodeSign_Xplat_Linux_x64
|
|
|
- - CodeSign_Xplat_Linux_arm
|
|
|
- - CodeSign_Xplat_Linux_arm64
|
|
|
- - CodeSign_Xplat_Linux_musl_x64
|
|
|
- - CodeSign_Xplat_Linux_musl_arm64
|
|
|
+ - ${{ if ne(variables['PostBuildSign'], 'true') }}:
|
|
|
+ - CodeSign_Xplat_MacOS_x64
|
|
|
+ - CodeSign_Xplat_Linux_x64
|
|
|
+ - CodeSign_Xplat_Linux_arm
|
|
|
+ - CodeSign_Xplat_Linux_arm64
|
|
|
+ - CodeSign_Xplat_Linux_musl_x64
|
|
|
+ - CodeSign_Xplat_Linux_musl_arm64
|
|
|
# In addition to the dependencies above, ensure the build was successful overall.
|
|
|
- Source_Build
|
|
|
pool:
|