emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: Two stage build for CI


From: Anand Tamariya
Subject: Patch: Two stage build for CI
Date: Sun, 18 Oct 2020 11:15:00 +0530

Hi,
Many a times it's easier to check results from CI for either compile or test failure. Hence, I've broken the build into two stages.

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f4e08d59dd..45db1b8d9d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,8 +35,16 @@ before_script:
   - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libc-dev gcc g++ make autoconf automake libncurses-dev gnutls-dev git
 
 stages:
+  - build
   - test
 
+compile:
+  stage: build
+  script:
+    - ./autogen.sh autoconf
+    - ./configure --without-makeinfo
+    - make
+
 test-all:
   # This tests also file monitor libraries inotify and inotifywatch.
   stage: test


reply via email to

[Prev in Thread] Current Thread [Next in Thread]