diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5237a27 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: Build documentation +on: + workflow_dispatch: + push: + branches: + - main + tags: + - v** + pull_request: + branches: + - main +jobs: + build_latex: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v4 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v3 + with: + root_file: docs/SMAesH.tex + - name: Upload PDF file + uses: actions/upload-artifact@v4 + with: + name: PDF + path: docs/SMAesH.pdf