diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60c4d551d7b..eb156ec3e9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,14 +28,32 @@ image: debian:stretch before_script: - apt update -qq - - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev gnutls-dev + - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev gnutls-dev git stages: + - compile - test -test: - stage: test +compile: + stage: compile script: - ./autogen.sh autoconf - ./configure --without-makeinfo + - make bootstrap + artifacts: + when: always + name: "compile-$CI_COMMIT_REF_NAME-$CI_JOB_STAGE-$CI_JOB_NAME" + paths: + - doc/ + - lib-src/ + - lib/ + - lisp/ + - src/ + - test/ + +test: + stage: test + dependencies: + - compile + script: - make check