forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (41 loc) · 1010 Bytes
/
doc.yml
File metadata and controls
50 lines (41 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Docs
on:
#push:
# branches:
# - master
# - 3.8
# - 3.7
# paths:
# - 'Doc/**'
pull_request:
paths:
- 'Doc/**'
- 'Misc/**'
jobs:
build_doc:
name: 'Docs'
runs-on: ubuntu-latest
container:
image: opensuse/leap:15.6
steps:
- name: Install Git and Tar
run: |
zypper ref
zypper -n install -y git-core tar
- uses: actions/checkout@v4
- name: 'Install Dependencies'
run: sudo ./.github/workflows/posix-deps-zypp.sh
# sudo apt-get install wamerican
- name: 'Configure CPython'
run: ./configure --with-pydebug
- name: 'Build CPython'
run: make -j4
- name: 'Install build dependencies'
run: make -C Doc/ PYTHON=../python venv
- name: 'Build documentation'
run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" suspicious html
- name: 'Upload'
uses: actions/upload-artifact@v4
with:
name: doc-html
path: Doc/build/html