mirror of https://github.com/pyodide/pyodide.git
Build docs in CI (#983)
This commit is contained in:
parent
8cc3c33550
commit
e205121806
|
@ -19,6 +19,26 @@ jobs:
|
||||||
name: lint
|
name: lint
|
||||||
command: make lint
|
command: make lint
|
||||||
|
|
||||||
|
build-docs:
|
||||||
|
working_directory: ~/repo
|
||||||
|
|
||||||
|
docker:
|
||||||
|
- image: python:3.8-alpine
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Install prerequisites
|
||||||
|
command: pip install -r docs/requirements-doc.txt
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Build docs
|
||||||
|
command: python3 -m sphinx -M html docs docs/_build
|
||||||
|
|
||||||
|
- store_artifacts:
|
||||||
|
path: /root/repo/docs/_build/
|
||||||
|
|
||||||
build-core:
|
build-core:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
steps:
|
steps:
|
||||||
|
@ -234,6 +254,7 @@ workflows:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
jobs:
|
jobs:
|
||||||
- lint
|
- lint
|
||||||
|
- build-docs
|
||||||
- build-core:
|
- build-core:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
|
@ -290,6 +311,7 @@ workflows:
|
||||||
- test-core-chrome
|
- test-core-chrome
|
||||||
- test-packages-chrome
|
- test-packages-chrome
|
||||||
- test-emsdk
|
- test-emsdk
|
||||||
|
- build-docs
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
|
@ -304,6 +326,7 @@ workflows:
|
||||||
- test-core-chrome
|
- test-core-chrome
|
||||||
- test-packages-chrome
|
- test-packages-chrome
|
||||||
- test-emsdk
|
- test-emsdk
|
||||||
|
- build-docs
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: master
|
only: master
|
||||||
|
|
Loading…
Reference in New Issue