Staging
v0.5.1
https://github.com/python/cpython
Revision 00466db22168579509fe6aa6cb47cdd89dfb9141 authored by Miss Islington (bot) on 22 July 2020, 00:09:32 UTC, committed by GitHub on 22 July 2020, 00:09:32 UTC
(cherry picked from commit bf2f76ec0976c09de79c8827764f30e3b6fba776)

Co-authored-by: Steve Dower <steve.dower@python.org>
1 parent d6ba8c8
Raw File
Tip revision: 00466db22168579509fe6aa6cb47cdd89dfb9141 authored by Miss Islington (bot) on 22 July 2020, 00:09:32 UTC
bpo-41364: Reduce import overhead of uuid module (GH-21586)
Tip revision: 00466db
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