build_doc #339
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: build_doc | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '34 17 * * *' | |
jobs: | |
build_pdf: | |
if: ${{ github.event_name != 'schedule' || (github.event_name == 'schedule' && vars.MMNOTE_NIGHTLY == 'enable') }} | |
name: build_pdf | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: dependency by apt | |
run: | | |
sudo apt-get -qqy update | |
sudo apt-get -qy install texlive-latex-extra texlive-pstricks texlive-science | |
# for lint | |
sudo apt-get -qy install chktex | |
- name: make | |
run: | | |
make | |
- name: lint check | |
run: | | |
make lint | |
- name: Archive PDF | |
uses: actions/upload-artifact@v4 | |
with: | |
name: archive PDF | |
path: | | |