mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 23:39:38 +00:00
23 lines
642 B
YAML
23 lines
642 B
YAML
jobs:
|
|
- job: Build_Python
|
|
timeoutInMinutes: 90
|
|
pool:
|
|
name: Azure Pipelines
|
|
vmImage: $(VmImage)
|
|
steps:
|
|
- checkout: self
|
|
submodules: true
|
|
|
|
- task: PowerShell@2
|
|
displayName: 'Build Python $(VERSION)'
|
|
inputs:
|
|
targetType: filePath
|
|
filePath: './builders/build-python.ps1'
|
|
arguments: '-Version $(VERSION) -Platform $(Platform) -Architecture $(Architecture)'
|
|
pwsh: true
|
|
|
|
- task: PublishPipelineArtifact@1
|
|
displayName: 'Publish Artifact: Python $(VERSION)'
|
|
inputs:
|
|
targetPath: '$(Build.ArtifactStagingDirectory)'
|
|
artifactName: 'python-$(VERSION)-$(Platform)-$(Architecture)' |