mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 15:29:39 +00:00
* Update build-python-packages.yml * update platforms * fix platform conditions * add clean up
119 lines
2.7 KiB
YAML
119 lines
2.7 KiB
YAML
name: $(date:yyyyMMdd)$(rev:.r)-Python-$(VERSION)
|
|
trigger: none
|
|
pr: none
|
|
|
|
stages:
|
|
- stage: Build_Python_MacOS
|
|
dependsOn: []
|
|
variables:
|
|
VmImage: 'macOS-10.14'
|
|
Platform: darwin
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
- stage: Test_Python_MacOS
|
|
condition: succeeded()
|
|
dependsOn: Build_Python_MacOS
|
|
variables:
|
|
VmImage: 'macOS-10.14'
|
|
Platform: darwin
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/test-job.yml
|
|
|
|
- stage: Build_Python_Ubuntu_1604
|
|
dependsOn: []
|
|
variables:
|
|
VmImage: 'ubuntu-16.04'
|
|
Platform: linux-16.04
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
- stage: Test_Python_Ubuntu_1604
|
|
condition: succeeded()
|
|
dependsOn: Build_Python_Ubuntu_1604
|
|
variables:
|
|
VmImage: 'ubuntu-16.04'
|
|
Platform: linux-16.04
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/test-job.yml
|
|
|
|
- stage: Build_Python_Ubuntu_1804
|
|
dependsOn: []
|
|
variables:
|
|
VmImage: 'ubuntu-18.04'
|
|
Platform: linux-18.04
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
- stage: Test_Python_Ubuntu_1804
|
|
condition: succeeded()
|
|
dependsOn: Build_Python_Ubuntu_1804
|
|
variables:
|
|
VmImage: 'ubuntu-18.04'
|
|
Platform: linux-18.04
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/test-job.yml
|
|
|
|
- stage: Build_Python_Ubuntu_2004
|
|
dependsOn: []
|
|
variables:
|
|
VmImage: 'ubuntu-20.04'
|
|
Platform: linux-20.04
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
- stage: Test_Python_Ubuntu_2004
|
|
condition: succeeded()
|
|
dependsOn: Build_Python_Ubuntu_2004
|
|
variables:
|
|
VmImage: 'ubuntu-20.04'
|
|
Platform: linux-20.04
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/test-job.yml
|
|
|
|
- stage: Build_Python_X64_Windows
|
|
dependsOn: []
|
|
variables:
|
|
VmImage: 'vs2017-win2016'
|
|
Platform: win32
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
- stage: Test_Python_x64_Windows
|
|
condition: succeeded()
|
|
dependsOn: Build_Python_X64_Windows
|
|
variables:
|
|
VmImage: 'vs2017-win2016'
|
|
Platform: win32
|
|
Architecture: x64
|
|
jobs:
|
|
- template: /azure-pipelines/templates/test-job.yml
|
|
|
|
- stage: Build_Python_x86_Windows
|
|
dependsOn: []
|
|
variables:
|
|
VmImage: 'vs2017-win2016'
|
|
Platform: win32
|
|
Architecture: x86
|
|
jobs:
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
- stage: Test_Python_x86_Windows
|
|
condition: succeeded()
|
|
dependsOn: Build_Python_x86_Windows
|
|
variables:
|
|
VmImage: 'vs2017-win2016'
|
|
Platform: win32
|
|
Architecture: x86
|
|
jobs:
|
|
- template: /azure-pipelines/templates/test-job.yml
|