Staging
v0.5.1
https://github.com/python/cpython
Revision 87bc22051fcfcf181160d06a57ac2b16ee071f8f authored by Miss Islington (bot) on 07 August 2020, 16:15:37 UTC, committed by GitHub on 07 August 2020, 16:15:37 UTC

gdb 9.2 on Fedora Rawhide is not reliable, see:

* https://bugs.python.org/issue41473
* https://bugzilla.redhat.com/show_bug.cgi?id=1866884
(cherry picked from commit e27a51c11e10d5df79b3e48dc3e7bfedfad5a794)

Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent dc98a54
Raw File
Tip revision: 87bc22051fcfcf181160d06a57ac2b16ee071f8f authored by Miss Islington (bot) on 07 August 2020, 16:15:37 UTC
bpo-41473: Skip test_gdb with gdb 9.2 to work around gdb bug (GH-21768)
Tip revision: 87bc220
docs-steps.yml
parameters:
  latex: false
  upload: false

steps:
- checkout: self
  clean: true
  fetchDepth: 5

- task: UsePythonVersion@0
  displayName: 'Use Python 3.6 or later'
  inputs:
    versionSpec: '>=3.6'

- script: python -m pip install sphinx==1.8.2 blurb python-docs-theme
  displayName: 'Install build dependencies'

- ${{ if ne(parameters.latex, 'true') }}:
  - script: make check suspicious html PYTHON=python
    workingDirectory: '$(build.sourcesDirectory)/Doc'
    displayName: 'Build documentation'

- ${{ if eq(parameters.latex, 'true') }}:
  - script: sudo apt-get update && sudo apt-get install -qy --force-yes texlive-full 
    displayName: 'Install LaTeX'

  - script: make dist PYTHON=python SPHINXBUILD='python -m sphinx' BLURB='python -m blurb'
    workingDirectory: '$(build.sourcesDirectory)/Doc'
    displayName: 'Build documentation'

- ${{ if eq(parameters.upload, 'true') }}:
  - task: PublishBuildArtifacts@1
    displayName: 'Publish docs'
  
    inputs:
      PathToPublish: '$(build.sourcesDirectory)/Doc/build'
      ArtifactName: docs
      publishLocation: Container

  - ${{ if eq(parameters.latex, 'true') }}:
    - task: PublishBuildArtifacts@1
      displayName: 'Publish dist'
      inputs:
        PathToPublish: '$(build.sourcesDirectory)/Doc/dist'
        ArtifactName: docs_dist
        publishLocation: Container
back to top