|
@@ -36,6 +36,8 @@ jobs:
|
|
|
agentOs: Windows
|
|
agentOs: Windows
|
|
|
buildScript: ./src/SiteExtensions/LoggingAggregate/build.cmd
|
|
buildScript: ./src/SiteExtensions/LoggingAggregate/build.cmd
|
|
|
buildArgs: -ci -sign /p:SignType=$(_SignType)
|
|
buildArgs: -ci -sign /p:SignType=$(_SignType)
|
|
|
|
|
+ installNodeJs: false
|
|
|
|
|
+ installJdk: false
|
|
|
jobName: SiteExtensions
|
|
jobName: SiteExtensions
|
|
|
jobDisplayName: "Build: Azure Logging Site Extension"
|
|
jobDisplayName: "Build: Azure Logging Site Extension"
|
|
|
artifacts:
|
|
artifacts:
|
|
@@ -58,19 +60,22 @@ jobs:
|
|
|
- script: "echo ##vso[build.addbuildtag]release-candidate"
|
|
- script: "echo ##vso[build.addbuildtag]release-candidate"
|
|
|
condition: and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['IsFinalBuild'], 'true'))
|
|
condition: and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['IsFinalBuild'], 'true'))
|
|
|
displayName: 'Set CI tags'
|
|
displayName: 'Set CI tags'
|
|
|
- # This is going to actually build x86 native assets
|
|
|
|
|
# TODO: make it possible to build for one Windows architecture at a time
|
|
# TODO: make it possible to build for one Windows architecture at a time
|
|
|
- - script: ./eng/scripts/cibuild.cmd -arch x64 /p:SignType=$(_SignType)
|
|
|
|
|
|
|
+ # This is going to actually build x86 native assets
|
|
|
|
|
+
|
|
|
|
|
+ # Intentionally does not code-sign because the next step will code sign the same files.
|
|
|
|
|
+ # Skipping signing avoids duplicate sign requests.
|
|
|
|
|
+ - script: ./eng/scripts/cibuild.cmd -arch x64 /p:SignType=
|
|
|
displayName: Build x64
|
|
displayName: Build x64
|
|
|
# Build the x86 shared framework
|
|
# Build the x86 shared framework
|
|
|
- - script: ./eng/scripts/cibuild.cmd -arch x86 /t:BuildSharedFx /p:SignType=$(_SignType)
|
|
|
|
|
|
|
+ # Set DisableSignCheck because we'll run sign check in an explicit step after installers build
|
|
|
|
|
+ - script: ./eng/scripts/cibuild.cmd -arch x86 /t:BuildSharedFx /p:SignType=$(_SignType) /p:DisableSignCheck=true
|
|
|
displayName: Build x86
|
|
displayName: Build x86
|
|
|
# Windows installers bundle both x86 and x64 assets
|
|
# Windows installers bundle both x86 and x64 assets
|
|
|
- - powershell: |
|
|
|
|
|
- ./src/Installers/Windows/build.ps1 `
|
|
|
|
|
- -ci `
|
|
|
|
|
- '/p:SignType=$(_SignType)'
|
|
|
|
|
|
|
+ - powershell: ./src/Installers/Windows/build.ps1 -ci /p:SignType=$(_SignType)
|
|
|
displayName: Build Installers
|
|
displayName: Build Installers
|
|
|
|
|
+ - script: ./build.cmd -ci -sign /t:SignCheck /p:SignType=$(_SignType)
|
|
|
|
|
+ displayName: Run signcheck
|
|
|
artifacts:
|
|
artifacts:
|
|
|
- name: Windows_Packages
|
|
- name: Windows_Packages
|
|
|
path: artifacts/packages/
|
|
path: artifacts/packages/
|
|
@@ -90,8 +95,10 @@ jobs:
|
|
|
jobName: Windows_arm_build
|
|
jobName: Windows_arm_build
|
|
|
jobDisplayName: "Build: Windows ARM"
|
|
jobDisplayName: "Build: Windows ARM"
|
|
|
agentOs: Windows
|
|
agentOs: Windows
|
|
|
- buildScript: ./eng/scripts/cibuild.cmd
|
|
|
|
|
|
|
+ buildScript: ./eng/scripts/cibuild.cmd -NoBuildNodeJS -NoBuildJava
|
|
|
buildArgs: -arch arm /p:SignType=$(_SignType)
|
|
buildArgs: -arch arm /p:SignType=$(_SignType)
|
|
|
|
|
+ installNodeJs: false
|
|
|
|
|
+ installJdk: false
|
|
|
afterBuild:
|
|
afterBuild:
|
|
|
# Remove packages that are not rid-specific.
|
|
# Remove packages that are not rid-specific.
|
|
|
# TODO add a flag so builds only produce runtime packages
|
|
# TODO add a flag so builds only produce runtime packages
|
|
@@ -114,6 +121,7 @@ jobs:
|
|
|
agentOs: macOs
|
|
agentOs: macOs
|
|
|
buildScript: ./eng/scripts/cibuild.sh
|
|
buildScript: ./eng/scripts/cibuild.sh
|
|
|
buildArgs: --no-build-nodejs --no-build-java
|
|
buildArgs: --no-build-nodejs --no-build-java
|
|
|
|
|
+ installNodeJs: false
|
|
|
afterBuild:
|
|
afterBuild:
|
|
|
# Remove packages that are not rid-specific.
|
|
# Remove packages that are not rid-specific.
|
|
|
# TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
# TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
@@ -137,6 +145,7 @@ jobs:
|
|
|
jobName: Linux_x64_build
|
|
jobName: Linux_x64_build
|
|
|
jobDisplayName: "Build: Linux x64"
|
|
jobDisplayName: "Build: Linux x64"
|
|
|
agentOs: Linux
|
|
agentOs: Linux
|
|
|
|
|
+ installNodeJs: false
|
|
|
buildSteps:
|
|
buildSteps:
|
|
|
- script: ./eng/scripts/cibuild.sh --arch x64 --no-build-nodejs --no-build-java
|
|
- script: ./eng/scripts/cibuild.sh --arch x64 --no-build-nodejs --no-build-java
|
|
|
displayName: Run cibuild.sh
|
|
displayName: Run cibuild.sh
|
|
@@ -187,6 +196,7 @@ jobs:
|
|
|
agentOs: Linux
|
|
agentOs: Linux
|
|
|
buildScript: ./eng/scripts/cibuild.sh
|
|
buildScript: ./eng/scripts/cibuild.sh
|
|
|
buildArgs: --arch arm --no-build-nodejs --no-build-java
|
|
buildArgs: --arch arm --no-build-nodejs --no-build-java
|
|
|
|
|
+ installNodeJs: false
|
|
|
afterBuild:
|
|
afterBuild:
|
|
|
# Remove packages that are not rid-specific.
|
|
# Remove packages that are not rid-specific.
|
|
|
# TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
# TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
@@ -212,6 +222,7 @@ jobs:
|
|
|
agentOs: Linux
|
|
agentOs: Linux
|
|
|
buildScript: ./eng/scripts/cibuild.sh
|
|
buildScript: ./eng/scripts/cibuild.sh
|
|
|
buildArgs: --arch arm64 --no-build-nodejs --no-build-java
|
|
buildArgs: --arch arm64 --no-build-nodejs --no-build-java
|
|
|
|
|
+ installNodeJs: false
|
|
|
afterBuild:
|
|
afterBuild:
|
|
|
# Remove packages that are not rid-specific.
|
|
# Remove packages that are not rid-specific.
|
|
|
# TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
# TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
@@ -237,6 +248,7 @@ jobs:
|
|
|
agentOs: Linux
|
|
agentOs: Linux
|
|
|
buildScript: ./dockerbuild.sh alpine
|
|
buildScript: ./dockerbuild.sh alpine
|
|
|
buildArgs: --ci --pack --all -e KOREBUILD_SKIP_INSTALL_NETFX=0 --arch x64 --os-name linux-musl --no-build-nodejs --no-build-java
|
|
buildArgs: --ci --pack --all -e KOREBUILD_SKIP_INSTALL_NETFX=0 --arch x64 --os-name linux-musl --no-build-nodejs --no-build-java
|
|
|
|
|
+ installNodeJs: false
|
|
|
afterBuild:
|
|
afterBuild:
|
|
|
# Remove packages that are not rid-specific.
|
|
# Remove packages that are not rid-specific.
|
|
|
# TODO add a flag so macOS/Linux builds only produce runtime packages
|
|
# TODO add a flag so macOS/Linux builds only produce runtime packages
|