1
0
mirror of synced 2024-12-22 12:40:00 +01:00
modern-cmake/.gitlab-ci.yml

29 lines
597 B
YAML
Raw Normal View History

2024-08-15 07:04:35 +00:00
default:
image: ghcr.io/prefix-dev/pixi:latest
2018-04-05 08:07:40 +02:00
before_script:
2024-08-15 07:04:35 +00:00
- apt-get update && apt-get install -y texlive texlive-xetex texlive-fonts-extra latexmk
variables:
DEBIAN_FRONTEND: noninteractive
test:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
2018-04-05 08:07:40 +02:00
script:
2024-08-15 07:04:35 +00:00
- pixi run test
- pixi run build
- pixi run pdf
2016-06-27 09:33:28 +00:00
pages:
2024-08-15 07:17:10 +00:00
stage: deploy
2024-08-15 07:04:35 +00:00
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
2016-06-27 09:33:28 +00:00
script:
2024-08-15 07:04:35 +00:00
- pixi run build
- pixi run pdf
- cp _build/latex/modern-cmake.pdf _build/html/
2016-06-27 09:33:28 +00:00
artifacts:
paths:
2024-08-15 07:04:35 +00:00
- _build/html
2017-10-18 10:20:39 -04:00
expire_in: 1 week