.gitlab-ci.yml: skip latexmk, remove texmf-dist texlive

TODO
This commit is contained in:
Aminda Suomalainen 2023-05-22 19:01:44 +03:00
parent 56f650d549
commit d369032d13
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -3,7 +3,7 @@ image: python:alpine
gitlab-ci-pre-commit: gitlab-ci-pre-commit:
stage: build stage: build
before_script: before_script:
- apk add --no-cache git gcc musl-dev go texmf-dist texlive - apk add --no-cache git gcc musl-dev go
- pip install pre-commit - pip install pre-commit
script: script:
- pre-commit run --all-files --show-diff-on-failure - pre-commit run --all-files --show-diff-on-failure
@ -11,6 +11,9 @@ gitlab-ci-pre-commit:
# Remember to gitignore .cache/** # Remember to gitignore .cache/**
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
TERM: dumb TERM: dumb
# TODO: How to LaTeX on Alpine? texmf-dist texlive packages aren't enough
# for the artikel3 or similar templates.
SKIP: latexmk
cache: cache:
paths: paths:
- ${PRE_COMMIT_HOME} - ${PRE_COMMIT_HOME}