2018-09-24 09:43:33 -03:00
|
|
|
variables:
|
|
|
|
manylinux: false
|
|
|
|
coverage: false
|
|
|
|
|
2019-01-22 16:31:30 -04:00
|
|
|
resources:
|
|
|
|
containers:
|
|
|
|
- container: manylinux1
|
|
|
|
image: pyca/cryptography-manylinux1:x86_64
|
|
|
|
|
2018-09-24 09:43:33 -03:00
|
|
|
jobs:
|
|
|
|
- job: Prebuild
|
|
|
|
displayName: Pre-build checks
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./prebuild-checks.yml
|
|
|
|
|
|
|
|
|
|
|
|
- job: Docs_PR
|
|
|
|
displayName: Docs PR
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true'))
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./docs-steps.yml
|
|
|
|
parameters:
|
|
|
|
upload: true
|
|
|
|
|
|
|
|
|
|
|
|
- job: macOS_CI_Tests
|
|
|
|
displayName: macOS CI Tests
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
|
|
|
|
variables:
|
|
|
|
testRunTitle: '$(build.sourceBranchName)-macos'
|
|
|
|
testRunPlatform: macos
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: xcode9-macos10.13
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./macos-steps.yml
|
|
|
|
|
|
|
|
|
|
|
|
- job: Ubuntu_CI_Tests
|
|
|
|
displayName: Ubuntu CI Tests
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
|
|
|
|
variables:
|
|
|
|
testRunTitle: '$(build.sourceBranchName)-linux'
|
|
|
|
testRunPlatform: linux
|
2019-01-22 16:31:30 -04:00
|
|
|
openssl_version: 1.1.0j
|
2018-09-24 09:43:33 -03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./posix-steps.yml
|
2019-01-22 16:31:30 -04:00
|
|
|
parameters:
|
|
|
|
dependencies: apt
|
2018-09-24 09:43:33 -03:00
|
|
|
|
|
|
|
|
|
|
|
- job: ManyLinux1_CI_Tests
|
|
|
|
displayName: ManyLinux1 CI Tests
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: |
|
|
|
|
and(
|
|
|
|
and(
|
|
|
|
succeeded(),
|
|
|
|
eq(variables['manylinux'], 'true')
|
|
|
|
),
|
|
|
|
eq(dependencies.Prebuild.outputs['tests.run'], 'true')
|
|
|
|
)
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
|
2019-01-22 16:31:30 -04:00
|
|
|
container: manylinux1
|
|
|
|
|
2018-09-24 09:43:33 -03:00
|
|
|
variables:
|
|
|
|
testRunTitle: '$(build.sourceBranchName)-manylinux1'
|
|
|
|
testRunPlatform: manylinux1
|
2019-01-22 16:31:30 -04:00
|
|
|
openssl_version: ''
|
2018-09-24 09:43:33 -03:00
|
|
|
|
|
|
|
steps:
|
2019-01-22 16:31:30 -04:00
|
|
|
- template: ./posix-steps.yml
|
|
|
|
parameters:
|
|
|
|
dependencies: yum
|
|
|
|
sudo_dependencies: ''
|
|
|
|
xvfb: false
|
|
|
|
patchcheck: false
|
2018-09-24 09:43:33 -03:00
|
|
|
|
|
|
|
|
|
|
|
- job: Ubuntu_Coverage_CI_Tests
|
|
|
|
displayName: Ubuntu CI Tests (coverage)
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: |
|
|
|
|
and(
|
|
|
|
and(
|
|
|
|
succeeded(),
|
|
|
|
eq(variables['coverage'], 'true')
|
|
|
|
),
|
|
|
|
eq(dependencies.Prebuild.outputs['tests.run'], 'true')
|
|
|
|
)
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
|
|
|
|
variables:
|
|
|
|
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
|
|
|
|
testRunPlatform: linux-coverage
|
2019-01-22 16:31:30 -04:00
|
|
|
openssl_version: 1.1.0j
|
2018-09-24 09:43:33 -03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./posix-steps.yml
|
|
|
|
parameters:
|
2019-01-22 16:31:30 -04:00
|
|
|
dependencies: apt
|
2018-09-24 09:43:33 -03:00
|
|
|
coverage: true
|
|
|
|
|
|
|
|
|
|
|
|
- job: Windows_CI_Tests
|
|
|
|
displayName: Windows CI Tests
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
|
|
|
|
pool:
|
2018-10-05 15:27:44 -03:00
|
|
|
vmImage: vs2017-win2016
|
2018-09-24 09:43:33 -03:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
win32:
|
|
|
|
arch: win32
|
|
|
|
buildOpt:
|
|
|
|
testRunTitle: '$(Build.SourceBranchName)-win32'
|
|
|
|
testRunPlatform: win32
|
|
|
|
win64:
|
|
|
|
arch: amd64
|
|
|
|
buildOpt: '-p x64'
|
|
|
|
testRunTitle: '$(Build.SourceBranchName)-win64'
|
|
|
|
testRunPlatform: win64
|
|
|
|
maxParallel: 2
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./windows-steps.yml
|
2019-01-08 06:56:14 -04:00
|
|
|
|
|
|
|
- template: ./windows-layout-steps.yml
|
|
|
|
parameters:
|
|
|
|
kind: nuget
|
|
|
|
- template: ./windows-layout-steps.yml
|
|
|
|
parameters:
|
|
|
|
kind: embed
|
|
|
|
- template: ./windows-layout-steps.yml
|
|
|
|
parameters:
|
|
|
|
kind: appx
|
2019-01-22 16:31:30 -04:00
|
|
|
fulltest: true
|