Skip to content

Commit 8df4052

Browse files
authored
Enable LaTeX availability during cache runs (#288)
1 parent bc19e86 commit 8df4052

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/cache.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@ jobs:
4747
run: |
4848
pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
4949
nvidia-smi
50+
# Install LaTeX (Support for matplotlib)
51+
- name: Install latex dependencies
52+
shell: bash -l {0}
53+
run: |
54+
apt-get -qq update
55+
export DEBIAN_FRONTEND=noninteractive
56+
apt-get install -y tzdata
57+
apt-get install -y \
58+
texlive-latex-recommended \
59+
texlive-latex-extra \
60+
texlive-fonts-recommended \
61+
texlive-fonts-extra \
62+
texlive-xetex \
63+
latexmk \
64+
xindy
5065
- name: Build HTML
5166
shell: bash -l {0}
5267
run: |

0 commit comments

Comments
 (0)