|
|
@@ -20,15 +20,16 @@ pr:
|
|
|
- '*'
|
|
|
|
|
|
jobs:
|
|
|
-- job: Code_check
|
|
|
- displayName: Code check
|
|
|
- workspace:
|
|
|
- clean: all
|
|
|
- pool:
|
|
|
- vmImage: vs2017-win2016
|
|
|
- steps:
|
|
|
- - powershell: ./eng/scripts/CodeCheck.ps1 -ci
|
|
|
- displayName: Run eng/scripts/CodeCheck.ps1
|
|
|
+- template: jobs/default-build.yml
|
|
|
+ parameters:
|
|
|
+ jobName: Code_check
|
|
|
+ jobDisplayName: Code check
|
|
|
+ agentOs: Windows
|
|
|
+ installJdk: false
|
|
|
+ installNodeJs: false
|
|
|
+ steps:
|
|
|
+ - powershell: ./eng/scripts/CodeCheck.ps1 -ci
|
|
|
+ displayName: Run eng/scripts/CodeCheck.ps1
|
|
|
|
|
|
# Build Windows (x64/x86)
|
|
|
- template: jobs/default-build.yml
|
|
|
@@ -37,7 +38,7 @@ jobs:
|
|
|
jobName: Windows_build
|
|
|
jobDisplayName: "Build: Windows x64/x86"
|
|
|
agentOs: Windows
|
|
|
- buildSteps:
|
|
|
+ steps:
|
|
|
- script: "echo ##vso[build.addbuildtag]daily-build"
|
|
|
condition: and(ne(variables['Build.Reason'], 'PullRequest'), ne(variables['IsFinalBuild'], 'true'))
|
|
|
displayName: 'Set CI tags'
|
|
|
@@ -56,7 +57,7 @@ jobs:
|
|
|
|
|
|
# Build the x86 shared framework
|
|
|
# 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:DisableCodeSigning=true /bl:artifacts/logs/build.x86.binlog
|
|
|
+ - script: ./eng/scripts/cibuild.cmd -arch x86 -NoRestore /t:BuildSharedFx /p:DisableCodeSigning=true /bl:artifacts/logs/build.x86.binlog
|
|
|
displayName: Build x86
|
|
|
|
|
|
# This is in a separate build step with -forceCoreMsbuild to workaround MAX_PATH limitations - https://github.com/Microsoft/msbuild/issues/53
|
|
|
@@ -66,7 +67,7 @@ jobs:
|
|
|
# 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.
|
|
|
- - script: ./build.cmd -ci -sign /t:CodeSign /p:SignType=$(_SignType) /p:DisableSignCheck=true /bl:artifacts/logs/build.codesign.binlog
|
|
|
+ - script: ./build.cmd -ci -sign -NoRestore /t:CodeSign /p:SignType=$(_SignType) /p:DisableSignCheck=true /bl:artifacts/logs/build.codesign.binlog
|
|
|
displayName: Code sign packages
|
|
|
|
|
|
# Windows installers bundle both x86 and x64 assets
|
|
|
@@ -74,7 +75,7 @@ jobs:
|
|
|
displayName: Build Installers
|
|
|
|
|
|
# Run sign check to verify everything was code signed.
|
|
|
- - script: ./build.cmd -ci -sign /t:SignCheck /p:SignType=$(_SignType) /bl:artifacts/logs/build.signcheck.binlog
|
|
|
+ - script: ./build.cmd -ci -sign -NoRestore /t:SignCheck /p:SignType=$(_SignType) /bl:artifacts/logs/build.signcheck.binlog
|
|
|
displayName: Run sign check
|
|
|
condition: eq(variables['_SignType'], 'real')
|
|
|
|
|
|
@@ -102,8 +103,8 @@ jobs:
|
|
|
jobName: Windows_arm_build
|
|
|
jobDisplayName: "Build: Windows ARM"
|
|
|
agentOs: Windows
|
|
|
- buildScript: ./eng/scripts/cibuild.cmd -NoBuildNodeJS -NoBuildJava
|
|
|
- buildArgs: -arch arm /p:SignType=$(_SignType)
|
|
|
+ buildScript: ./eng/scripts/cibuild.cmd
|
|
|
+ buildArgs: -arch arm -NoBuildNodeJS -NoBuildJava /p:SignType=$(_SignType)
|
|
|
installNodeJs: false
|
|
|
installJdk: false
|
|
|
afterBuild:
|
|
|
@@ -156,7 +157,7 @@ jobs:
|
|
|
jobDisplayName: "Build: Linux x64"
|
|
|
agentOs: Linux
|
|
|
installNodeJs: false
|
|
|
- buildSteps:
|
|
|
+ steps:
|
|
|
- script: ./eng/scripts/cibuild.sh --arch x64 --no-build-nodejs --no-build-java
|
|
|
displayName: Run cibuild.sh
|
|
|
- script: |
|
|
|
@@ -166,6 +167,7 @@ jobs:
|
|
|
--ci --pack --all --no-build-nodejs --no-build-java \
|
|
|
--arch x64 \
|
|
|
-e KOREBUILD_SKIP_INSTALL_NETFX=0 \
|
|
|
+ --no-restore \
|
|
|
/t:BuildSharedFx \
|
|
|
/p:BuildRuntimeArchive=false \
|
|
|
/p:LinuxInstallerType=deb
|
|
|
@@ -330,23 +332,3 @@ jobs:
|
|
|
- name: Linux_Test_Logs
|
|
|
path: artifacts/logs/
|
|
|
publishOnError: true
|
|
|
-- template: jobs/iisintegration-job.yml
|
|
|
- parameters:
|
|
|
- condition: ne(variables['SkipTests'], 'true')
|
|
|
- TestGroupName: IIS
|
|
|
- skipArgs: " /p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=false /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true"
|
|
|
-- template: jobs/iisintegration-job.yml
|
|
|
- parameters:
|
|
|
- condition: ne(variables['SkipTests'], 'true')
|
|
|
- TestGroupName: IISExpress
|
|
|
- skipArgs: "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=false /p:SkipIISForwardsCompatibilityTests=true"
|
|
|
-- template: jobs/iisintegration-job.yml
|
|
|
- parameters:
|
|
|
- condition: ne(variables['SkipTests'], 'true')
|
|
|
- TestGroupName: IISForwardCompat
|
|
|
- skipArgs: "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=false"
|
|
|
-- template: jobs/iisintegration-job.yml
|
|
|
- parameters:
|
|
|
- condition: ne(variables['SkipTests'], 'true')
|
|
|
- TestGroupName: IISBackCompat
|
|
|
- skipArgs: "/p:SkipIISBackwardsCompatibilityTests=false /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true"
|