.gitlab-ci.yml: split stages and add git

parent 792dc36e
Pipeline #412 failed with stages
in 53 minutes and 33 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment