Skip to content

Commit

Permalink
Break up Build in CI to Build HTML and Build PDF (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
abidingabi authored Nov 2, 2023
1 parent 171d649 commit a56de8e
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- "*"
jobs:
build:
build-html:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a56de8e

Please sign in to comment.