|
|
@@ -75,6 +75,7 @@ jobs:
|
|
|
-NoRestore
|
|
|
-BuildNative
|
|
|
/t:BuildSharedFx
|
|
|
+ /p:OnlyPackPlatformSpecificPackages=true
|
|
|
/p:DisableCodeSigning=true
|
|
|
/bl:artifacts/log/build.x86.binlog
|
|
|
$(_BuildArgs)
|
|
|
@@ -151,15 +152,12 @@ jobs:
|
|
|
buildArgs: -arch arm
|
|
|
-NoBuildNodeJS
|
|
|
-NoBuildJava
|
|
|
+ /p:OnlyPackPlatformSpecificPackages=true
|
|
|
/p:SignType=$(_SignType)
|
|
|
/bl:artifacts/log/build.win-arm.binlog
|
|
|
$(_BuildArgs)
|
|
|
installNodeJs: false
|
|
|
installJdk: false
|
|
|
- afterBuild:
|
|
|
- # Remove packages that are not rid-specific.
|
|
|
- # TODO add a flag so builds only produce runtime packages
|
|
|
- - powershell: gci artifacts/packages/ -recurse -exclude 'runtime.*', 'Microsoft.AspNetCore.App.Runtime.*' -file | rm -ea ignore
|
|
|
artifacts:
|
|
|
- name: Windows_arm_Packages
|
|
|
path: artifacts/packages/
|
|
|
@@ -180,14 +178,10 @@ jobs:
|
|
|
buildScript: ./eng/scripts/cibuild.sh
|
|
|
buildArgs: --no-build-nodejs
|
|
|
--no-build-java
|
|
|
- /bl:artifacts/log/build.macos.binlog
|
|
|
+ -p:OnlyPackPlatformSpecificPackages=true
|
|
|
+ -bl:artifacts/log/build.macos.binlog
|
|
|
$(_BuildArgs)
|
|
|
installNodeJs: false
|
|
|
- afterBuild:
|
|
|
- # Remove packages that are not rid-specific.
|
|
|
- # TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
|
- - script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
|
|
|
- condition: always()
|
|
|
artifacts:
|
|
|
- name: MacOS_x64_Packages
|
|
|
path: artifacts/packages/
|
|
|
@@ -214,7 +208,8 @@ jobs:
|
|
|
--arch x64
|
|
|
--no-build-nodejs
|
|
|
--no-build-java
|
|
|
- /bl:artifacts/log/build.linux-x64.binlog
|
|
|
+ -p:OnlyPackPlatformSpecificPackages=true
|
|
|
+ -bl:artifacts/log/build.linux-x64.binlog
|
|
|
$(_BuildArgs)
|
|
|
displayName: Run cibuild.sh
|
|
|
- script: |
|
|
|
@@ -226,10 +221,11 @@ jobs:
|
|
|
-e KOREBUILD_SKIP_INSTALL_NETFX=0 \
|
|
|
--no-restore \
|
|
|
--no-build-deps \
|
|
|
- /t:BuildSharedFx \
|
|
|
- /p:BuildRuntimeArchive=false \
|
|
|
- /p:LinuxInstallerType=deb \
|
|
|
- /bl:artifacts/log/build.deb.binlog \
|
|
|
+ -t:BuildSharedFx \
|
|
|
+ -p:OnlyPackPlatformSpecificPackages=true \
|
|
|
+ -p:BuildRuntimeArchive=false \
|
|
|
+ -p:LinuxInstallerType=deb \
|
|
|
+ -bl:artifacts/log/build.deb.binlog \
|
|
|
$(_BuildArgs)
|
|
|
displayName: Build Debian installers
|
|
|
- script: |
|
|
|
@@ -241,17 +237,13 @@ jobs:
|
|
|
-e KOREBUILD_SKIP_INSTALL_NETFX=0 \
|
|
|
--no-restore \
|
|
|
--no-build-deps \
|
|
|
- /t:BuildSharedFx \
|
|
|
- /p:BuildRuntimeArchive=false \
|
|
|
- /p:LinuxInstallerType=rpm \
|
|
|
- /bl:artifacts/log/build.rpm.binlog \
|
|
|
+ -t:BuildSharedFx \
|
|
|
+ -p:OnlyPackPlatformSpecificPackages=true \
|
|
|
+ -p:BuildRuntimeArchive=false \
|
|
|
+ -p:LinuxInstallerType=rpm \
|
|
|
+ -bl:artifacts/log/build.rpm.binlog \
|
|
|
$(_BuildArgs)
|
|
|
displayName: Build RPM installers
|
|
|
- afterBuild:
|
|
|
- # Remove packages that are not rid-specific.
|
|
|
- # TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
|
- - script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
|
|
|
- condition: always()
|
|
|
artifacts:
|
|
|
- name: Linux_x64_Packages
|
|
|
path: artifacts/packages/
|
|
|
@@ -276,14 +268,10 @@ jobs:
|
|
|
buildArgs: --arch arm
|
|
|
--no-build-nodejs
|
|
|
--no-build-java
|
|
|
- /bl:artifacts/log/build.linux-arm.binlog
|
|
|
+ -p:OnlyPackPlatformSpecificPackages=true
|
|
|
+ -bl:artifacts/log/build.linux-arm.binlog
|
|
|
$(_BuildArgs)
|
|
|
installNodeJs: false
|
|
|
- afterBuild:
|
|
|
- # Remove packages that are not rid-specific.
|
|
|
- # TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
|
- - script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
|
|
|
- condition: always()
|
|
|
artifacts:
|
|
|
- name: Linux_arm_Packages
|
|
|
path: artifacts/packages/
|
|
|
@@ -308,14 +296,10 @@ jobs:
|
|
|
buildArgs: --arch arm64
|
|
|
--no-build-nodejs
|
|
|
--no-build-java
|
|
|
- /bl:artifacts/log/build.arm64.binlog
|
|
|
+ -p:OnlyPackPlatformSpecificPackages=true
|
|
|
+ -bl:artifacts/log/build.arm64.binlog
|
|
|
$(_BuildArgs)
|
|
|
installNodeJs: false
|
|
|
- afterBuild:
|
|
|
- # Remove packages that are not rid-specific.
|
|
|
- # TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
|
- - script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
|
|
|
- condition: always()
|
|
|
artifacts:
|
|
|
- name: Linux_arm64_Packages
|
|
|
path: artifacts/packages/
|
|
|
@@ -345,14 +329,10 @@ jobs:
|
|
|
--os-name linux-musl
|
|
|
--no-build-nodejs
|
|
|
--no-build-java
|
|
|
- /bl:artifacts/log/build.musl.binlog
|
|
|
+ -p:OnlyPackPlatformSpecificPackages=true
|
|
|
+ -bl:artifacts/log/build.musl.binlog
|
|
|
$(_BuildArgs)
|
|
|
installNodeJs: false
|
|
|
- afterBuild:
|
|
|
- # Remove packages that are not rid-specific.
|
|
|
- # TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
|
- - script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
|
|
|
- condition: always()
|
|
|
artifacts:
|
|
|
- name: Linux_musl_x64_Packages
|
|
|
path: artifacts/packages/
|
|
|
@@ -382,14 +362,10 @@ jobs:
|
|
|
--os-name linux-musl
|
|
|
--no-build-nodejs
|
|
|
--no-build-java
|
|
|
- /bl:artifacts/log/build.musl.binlog
|
|
|
+ -p:OnlyPackPlatformSpecificPackages=true
|
|
|
+ -bl:artifacts/log/build.musl.binlog
|
|
|
$(_BuildArgs)
|
|
|
installNodeJs: false
|
|
|
- afterBuild:
|
|
|
- # Remove packages that are not rid-specific.
|
|
|
- # TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
|
- - script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
|
|
|
- condition: always()
|
|
|
artifacts:
|
|
|
- name: Linux_musl_arm64_Packages
|
|
|
path: artifacts/packages/
|