Staging
v0.5.1
https://github.com/python/cpython
Revision 907ee1f14aaf587683ced44818c5a1d1cabf4174 authored by Miss Islington (bot) on 24 May 2020, 21:31:47 UTC, committed by GitHub on 24 May 2020, 21:31:47 UTC
(cherry picked from commit c73914a562580ae72048876cb42ed8e76e2c83f9)

Co-authored-by: RĂ©mi Lapeyre <remi.lapeyre@lenstra.fr>
1 parent 1ae0fd8
Raw File
Tip revision: 907ee1f14aaf587683ced44818c5a1d1cabf4174 authored by Miss Islington (bot) on 24 May 2020, 21:31:47 UTC
bpo-36290: Fix keytword collision handling in AST node constructors (GH-12382)
Tip revision: 907ee1f
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'])
back to top