28 lines
939 B
YAML
28 lines
939 B
YAML
name: Build LaTeX document
|
|
|
|
on:
|
|
push:
|
|
branches: [master, main]
|
|
|
|
# TODO: Don't install texlive-full etc. every time, but use gitea.vps.chriphost.de/christoph/docker-texlive
|
|
jobs:
|
|
build-latex:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Setup TexLive
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y texlive-full
|
|
apt-get install -y inkscape
|
|
apt-get install -y python3-pygments
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Build LaTeX document
|
|
# run: docker run --rm --volumes-from ${{ env.JOB_CONTAINER_NAME }} --workdir ${{ github.workspace }} ghcr.io/xu-cheng/texlive-full:latest latexmk -shell-escape -pdf thesis.tex
|
|
run: latexmk -shell-escape -pdf thesis.tex
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: interrupt-handling-using-the-x86-apic.pdf
|
|
path: thesis.pdf
|