tame/.gitlab-ci.yml

49 lines
1.1 KiB
YAML
Raw Normal View History

image: lovullo/rater-ci
stages:
- build
- deploy
build:
stage: build
script:
- apt-get update
- apt-get -y install --no-install-recommends texinfo texlive-latex-base
- apt-get -y install nodejs
- git submodule update --init --recursive
- git clone https://gitlab.com/mikegerwitz/hoxsl
- export SAXON_CP=/usr/share/ant/lib/saxon9/saxon9he.jar
- autoreconf -fvi
- ./configure
- ( cd progtest && npm install && ./autogen.sh && ./configure )
- make all check info pdf html
artifacts:
paths:
- doc/
expire_in: 30 min
build-rust:
stage: build
image: rust:1.39
script:
- cd tamer
- ./bootstrap
- ./configure
- make check
artifacts:
paths:
- tamer/target
expire_in: 30 min
pages:
stage: deploy
script:
- mkdir -p public/doc
- mv doc/tame.html/* doc/tame.pdf doc/tame.info public/
artifacts:
paths:
- public/
expire_in: 30 min
only:
- tags