Add simplified Moire, font; fix GitHub Actions #32
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Configure and build | |
uses: threeal/cmake-action@main | |
with: | |
source-dir: . | |
build-dir: build | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Create TeX file | |
run: | | |
mkdir out | |
python python/moire_converter.py --input data/text.moi --output out/text.tex --format tex | |
- name: Construct `text.pdf` | |
uses: xu-cheng/latex-action@v3 | |
with: | |
working_directory: out | |
root_file: text.tex | |
latexmk_use_xelatex: true | |
extra_fonts: | | |
../fonts/DoulosSIL-Regular.ttf | |
../fonts/NotoSansKR-VariableFont_wght.ttf | |
../fonts/cmunrm.ttf |