Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 97fe9cfd9f81fe96a70e1ce80fce04b0c937bfac authored by Łukasz Langa on 18 May 2020, 23:07:09 UTC, committed by Łukasz Langa on 18 May 2020, 23:07:09 UTC
1 parent a3ec3ad
Tip revision: 97fe9cfd9f81fe96a70e1ce80fce04b0c937bfac authored by Łukasz Langa on 18 May 2020, 23:07:09 UTC
Python 3.9.0b1
Python 3.9.0b1
Tip revision: 97fe9cf
windows-steps.yml
steps:
- checkout: self
clean: false
fetchDepth: 5
- powershell: |
# Relocate build outputs outside of source directory to make cleaning faster
Write-Host '##vso[task.setvariable variable=Py_IntDir]$(Build.BinariesDirectory)\obj'
# UNDONE: Do not build to a different directory because of broken tests
Write-Host '##vso[task.setvariable variable=Py_OutDir]$(Build.SourcesDirectory)\PCbuild'
#Write-Host '##vso[task.setvariable variable=Py_OutDir]$(Build.BinariesDirectory)\bin'
Write-Host '##vso[task.setvariable variable=EXTERNALS_DIR]$(Build.BinariesDirectory)\externals'
displayName: Update build locations
- script: PCbuild\build.bat -e $(buildOpt)
displayName: 'Build CPython'
env:
IncludeUwp: true
- script: python.bat -m test.pythoninfo
displayName: 'Display build info'
condition: and(succeeded(), variables['testRunPlatform'])
- script: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results.xml" --tempdir="$(Build.BinariesDirectory)\test"
displayName: 'Tests'
condition: and(succeeded(), variables['testRunPlatform'])
env:
PREFIX: $(Py_OutDir)\$(arch)
- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFiles: '$(Build.BinariesDirectory)\test-results.xml'
mergeTestResults: true
testRunTitle: $(testRunTitle)
platform: $(testRunPlatform)
condition: and(succeededOrFailed(), variables['testRunPlatform'])
Computing file changes ...