Add CI for code #14
Workflow file for this run
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: PDFs | |
on: [push] | |
jobs: | |
compile: | |
name: Compile the tutorial | |
runs-on: ubuntu-latest | |
steps: | |
- name: install needed packages | |
run: sudo apt update && DEBIAN_FRONTEND=noninteractive sudo --preserve-env=DEBIAN_FRONTEND apt install -y make texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-plain-generic texlive-fonts-extra texlive-lang-french texlive-luatex python3-pygments librsvg2-bin | |
- name: retrieve sources | |
uses: actions/checkout@v4 | |
- name: compile | |
run: make | |
- name: archive PDFs | |
uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
english/main.pdf | |
french/main.pdf | |