46 lines
962 B
YAML
46 lines
962 B
YAML
image: $BUILD_IMAGE
|
|
|
|
stages:
|
|
- build
|
|
- deploy
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- 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
|