diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cd2e9d91..c8b8abf0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,7 +7,7 @@ on: branches: - "*" jobs: - build: + build-html: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -17,10 +17,6 @@ jobs: - name: Install Python Dependencies run: | pip install -r source/requirements.txt - - name: Install LaTeX - run: | - sudo apt update - sudo apt install -y texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra latexmk texlive-lang-greek texlive-luatex texlive-xetex texlive-fonts-extra dvipng librsvg2-bin graphviz - name: Build HTML run: | make html @@ -29,6 +25,20 @@ jobs: with: name: gm0-html path: build/html/ + build-pdf: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + with: + python-version: 3.7 + - name: Install Python Dependencies + run: | + pip install -r source/requirements.txt + - name: Install LaTeX + run: | + sudo apt update + sudo apt install -y texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra latexmk texlive-lang-greek texlive-luatex texlive-xetex texlive-fonts-extra dvipng librsvg2-bin graphviz - name: Build PDF run: | make latexpdf