Skip to content

Opensuse 3.6 gh action #10

Opensuse 3.6 gh action

Opensuse 3.6 gh action #10

Workflow file for this run

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: ./.github/workflows/posix-deps-zypp.sh
# 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