• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: Docs
2
3on:
4  #push:
5  #  branches:
6  #  - master
7  #  - 3.8
8  #  - 3.7
9  #  paths:
10  #  - 'Doc/**'
11  pull_request:
12    branches:
13    - master
14    - 3.8
15    - 3.7
16    paths:
17    - 'Doc/**'
18    - 'Misc/**'
19
20jobs:
21  build_doc:
22    name: 'Docs'
23    runs-on: ubuntu-latest
24    steps:
25    - uses: actions/checkout@v2
26    - name: 'Install Dependencies'
27      run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican
28    - name: 'Configure CPython'
29      run: ./configure --with-pydebug
30    - name: 'Build CPython'
31      run: make -j4
32    - name: 'Install build dependencies'
33      run: make -C Doc/ PYTHON=../python venv
34    - name: 'Build documentation'
35      run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest suspicious html
36    - name: 'Upload'
37      uses: actions/upload-artifact@v1
38      with:
39        name: doc-html
40        path: Doc/build/html
41