Skip to content

Add simplified Moire; fix GitHub Actions #22

Add simplified Moire; fix GitHub Actions

Add simplified Moire; fix GitHub Actions #22

Workflow file for this run

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 ${OUTPUT_DIRECTORY}/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