-
Fabian Gabel authoredFabian Gabel authored
.gitlab-ci.yml 11.91 KiB
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
#
stages:
- preprocessor-test
- preprocessor-run
- pandoc-run
- deploy
testing:
stage: preprocessor-test
allow_failure: false
image:
name: alpine:latest
script:
- apk add --no-cache --upgrade bash
- RESEARCH_ROOT=`pwd`; export RESEARCH_ROOT;
# run shell script with testss
- $RESEARCH_ROOT/bin/run-tests.sh
artifacts:
paths:
- testing/*.log
preprocessing:
stage: preprocessor-run
allow_failure: false
image:
name: alpine:latest
script:
- apk add --no-cache --upgrade bash
- RESEARCH_ROOT=`pwd`; export RESEARCH_ROOT;
# preprocess .MD files
- $RESEARCH_ROOT/bin/preproc_topics.sh
artifacts:
paths:
- build
pandoc:
stage: pandoc-run
dependencies: [preprocessing]
image:
name: pandoc/latex:latest
entrypoint: ["/bin/sh", "-c"]
script:
# build research topics
- pandoc --standalone build/topic-template.md -o build/topic-template.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone build/aperiodSchr.md -o build/aperiodSchr.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone build/Control_in_Banach_spaces.md -o build/Control_in_Banach_spaces.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone build/navier-stokes.md -o build/navier-stokes.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone build/Fractional_Powers_of_Linear_Operators.md -o build/Fractional_Powers_of_Linear_Operators.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone build/PinT-PDEopt.md -o build/PinT-PDEopt.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
# build index
- pandoc --standalone build/index.md -o build/index.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
# build static working group pages
- pandoc --standalone ./build/aa.md -o ./build/aa.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/dm.md -o ./build/dm.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/cm.md -o ./build/cm.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/nm.md -o ./build/nm.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/st.md -o ./build/st.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
# build static staff pages (generated by create-staff-yml.sh)
- pandoc --standalone ./build/ataraz.md -o ./build/ataraz.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/cseifert.md -o ./build/cseifert.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/dclemens.md -o ./build/dclemens.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/dgallaun.md -o ./build/dgallaun.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/druprecht.md -o ./build/druprecht.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/fboesch.md -o ./build/fboesch.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/fbuenger.md -o ./build/fbuenger.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/fgabel.md -o ./build/fgabel.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"
- pandoc --standalone ./build/fhamann.md -o ./build/fhamann.html --mathjax -c css/base.css -c css/extra.css -c "css/print.css" -c "css/superfish.css" -c "css/superfish-vertical.css" -c "css/base_mode.css"