Staging
v0.5.1
https://github.com/python/cpython
Revision 0d45d50e421b46b56195821580c3760b43813106 authored by Miss Islington (bot) on 29 August 2019, 08:15:18 UTC, committed by Raymond Hettinger on 29 August 2019, 08:15:18 UTC
(cherry picked from commit 84125fed2a45a9e454d7e870d8bbaf6ece3d41e8)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
1 parent 102130a
Raw File
Tip revision: 0d45d50e421b46b56195821580c3760b43813106 authored by Miss Islington (bot) on 29 August 2019, 08:15:18 UTC
bpo-16468: Clarify which objects can be passed to "choices" in argparse (GH-15566) (GH-15587)
Tip revision: 0d45d50
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'

- 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'
  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: succeededOrFailed()
back to top