latex-packages/.gitlab-ci.yml

45 lines
723 B
YAML
Raw Normal View History

2021-10-24 11:23:20 +02:00
stages:
2021-10-24 10:35:53 +02:00
- get
- build
- pages
2021-10-24 11:23:20 +02:00
get-build-repo:
2021-10-24 10:35:53 +02:00
stage: get
before_script:
2021-10-24 11:26:00 +02:00
- source .ci/configure_git.sh
2021-10-24 10:35:53 +02:00
script:
- echo "Getting old Build repo..."
- .ci/get_build_repo_from_origin.sh
artifacts:
paths:
2021-10-24 11:23:20 +02:00
- build/
tags:
- latex
2021-10-24 10:35:53 +02:00
2021-10-24 11:23:20 +02:00
build-packages:
stage: build
2021-10-24 10:35:53 +02:00
before_script:
2021-10-24 11:26:00 +02:00
- source .ci/configure_git.sh
2021-10-24 10:35:53 +02:00
script:
- echo "Building packages incrementally..."
- sh .ci/ci_build.sh
variables:
GIT_SUBMODULE_STRATEGY: recursive
artifacts:
paths:
2021-10-24 11:23:20 +02:00
- build/
2021-10-24 10:35:53 +02:00
tags:
- latex
pages:
stage: pages
artifacts:
paths:
- public/
script:
- mv build/ public/
tags:
- latex
only:
- master