tamer build as part of pipeline and bootstrap

master
Mike Gerwitz 2019-11-15 10:35:09 -05:00
parent fd1a5837ba
commit 8e241218b7
2 changed files with 24 additions and 11 deletions

View File

@ -4,16 +4,14 @@ stages:
- build
- deploy
before_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
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
@ -24,6 +22,19 @@ build:
- 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:

View File

@ -25,10 +25,12 @@ export HOXSL="${HOXSL?Missing path to hoxsl}"
test "${1:-}" = -n || git submodule update --init --recursive
cd progtest \
&& { which npm && npm install || true; } \
&& ./autogen.sh && ./configure \
&& cd - \
(
cd progtest \
&& { which npm && npm install || true; } \
&& ./autogen.sh && ./configure
) \
&& ( cd tamer && ./bootstrap && ./configure && make check ) \
&& { test -e hoxsl || ln -s ../hoxsl; } \
&& autoreconf -fvi \
&& ./configure \