89 lines
3.5 KiB
YAML
89 lines
3.5 KiB
YAML
phases:
|
|
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
|
|
parameters:
|
|
agentOs: Windows
|
|
phaseName: IIS_Express_Tests
|
|
buildArgs: /p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISForwardsCompatibilityTests=true
|
|
beforeBuild:
|
|
- powershell: "& ./tools/UpdateIISExpressCertificate.ps1; & ./tools/update_schema.ps1; & ./tools/SetupTestEnvironment.ps1 Setup"
|
|
displayName: Prepare repo
|
|
afterBuild:
|
|
- powershell: "& ./tools/SetupTestEnvironment.ps1 Shutdown"
|
|
displayName: Stop AppVerifier
|
|
condition: always()
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Upload logs
|
|
condition: eq(variables['system.pullrequest.isfork'], false)
|
|
inputs:
|
|
artifactName: logs
|
|
artifactType: Container
|
|
pathtoPublish: artifacts/logs
|
|
|
|
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
|
|
parameters:
|
|
agentOs: Windows
|
|
phaseName: IIS_Tests
|
|
buildArgs: /p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true
|
|
beforeBuild:
|
|
- powershell: "& ./tools/UpdateIISExpressCertificate.ps1; & ./tools/update_schema.ps1; & ./tools/SetupTestEnvironment.ps1 Setup"
|
|
displayName: Prepare repo
|
|
afterBuild:
|
|
- powershell: "& ./tools/SetupTestEnvironment.ps1 Shutdown"
|
|
displayName: Stop AppVerifier
|
|
condition: always()
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Upload logs
|
|
condition: eq(variables['system.pullrequest.isfork'], false)
|
|
inputs:
|
|
artifactName: logs
|
|
artifactType: Container
|
|
pathtoPublish: artifacts/logs
|
|
|
|
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
|
|
parameters:
|
|
agentOs: Windows
|
|
phaseName: IIS_BackCompat_Tests
|
|
buildArgs: /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true
|
|
beforeBuild:
|
|
- powershell: "& ./tools/UpdateIISExpressCertificate.ps1; & ./tools/update_schema.ps1; & ./tools/SetupTestEnvironment.ps1 Setup"
|
|
displayName: Prepare repo
|
|
afterBuild:
|
|
- powershell: "& ./tools/SetupTestEnvironment.ps1 Shutdown"
|
|
displayName: Stop AppVerifier
|
|
condition: always()
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Upload logs
|
|
condition: eq(variables['system.pullrequest.isfork'], false)
|
|
inputs:
|
|
artifactName: logs
|
|
artifactType: Container
|
|
pathtoPublish: artifacts/logs
|
|
|
|
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
|
|
parameters:
|
|
agentOs: Windows
|
|
phaseName: IIS_ForwardsCompat_Tests
|
|
buildArgs: /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISBackwardsCompatibilityTests=true
|
|
beforeBuild:
|
|
- powershell: "& ./tools/UpdateIISExpressCertificate.ps1; & ./tools/update_schema.ps1; & ./tools/SetupTestEnvironment.ps1 Setup"
|
|
displayName: Prepare repo
|
|
afterBuild:
|
|
- powershell: "& ./tools/SetupTestEnvironment.ps1 Shutdown"
|
|
displayName: Stop AppVerifier
|
|
condition: always()
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Upload logs
|
|
condition: eq(variables['system.pullrequest.isfork'], false)
|
|
inputs:
|
|
artifactName: logs
|
|
artifactType: Container
|
|
pathtoPublish: artifacts/logs
|
|
|
|
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
|
|
parameters:
|
|
agentOs: macOS
|
|
|
|
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
|
|
parameters:
|
|
agentOs: Linux
|