-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1012 Bytes
/
build_docs.yml
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
name: test for building doc
on: [push]
jobs:
check-build-doc:
runs-on: ubuntu-22.04
steps:
- name: Inject slug/short variables
uses: rlespinasse/[email protected]
- name: Checkout
uses: actions/checkout@v4
with:
path: main
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Prepare LaTeX env
run: |
sudo apt update
sudo apt install openmpi-bin libopenmpi-dev
sudo apt install \
texlive-latex-recommended texlive-latex-extra texlive-xetex \
texlive-lang-japanese texlive-fonts-recommended texlive-fonts-extra latexmk
kanji-config-updmap-sys ipaex
- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install sphinx
cd ${GITHUB_WORKSPACE}/main
python -m pip install '.[all]'
- name: Build
run: |
cd ${GITHUB_WORKSPACE}/main/doc
sh ./make.sh