Merge branch 'update.algorithm.mapper' into update.algorithm #165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test for building doc | |
on: [push] | |
jobs: | |
check-build-doc: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Inject slug/short variables | |
uses: rlespinasse/[email protected] | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: main | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Prepare LaTeX env | |
run: | | |
sudo apt update | |
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 | |
- name: Build | |
run: | | |
for lang in ja en; do | |
cd ${GITHUB_WORKSPACE}/main/doc/${lang} | |
make html | |
make latexpdf | |
done |