]> git.eshelyaron.com Git - emacs.git/commitdiff
.gitlab-ci.yml: split stages and add git
authorTed Zlatanov <tzz@lifelogs.com>
Mon, 31 Dec 2018 13:06:15 +0000 (08:06 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Mon, 31 Dec 2018 13:36:07 +0000 (08:36 -0500)
.gitlab-ci.yml

index 60c4d551d7ba82dd6ce13bf798ded4017a0f9f55..eb156ec3e9d76d851c6546c583ea6cb4f149ba95 100644 (file)
@@ -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