From c7a939054b26d5e25fbf46bf05f29aaa22ff14ab Mon Sep 17 00:00:00 2001
From: Raymond Toy <toy.raymond@gmail.com>
Date: Sat, 4 Nov 2017 09:33:20 -0700
Subject: [PATCH] Set up stages

Let's see how that goes.
---
 .gitlab-ci.yml | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 023532523..9cc71d89e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,9 @@
-linux-setup:
+stages:
+  - setup
+  - build
+  - test
+
+setup:
   tags: 
    - linux
   script:
@@ -8,10 +13,14 @@ linux-setup:
     - mkdir snapshot
     - (cd snapshot; tar xjf ../cmucl-2017-10-x86-linux.tar.bz2; tar xjf ../cmucl-2017-10-x86-linux.extra.tar.bz2)
 
-test:
+build:
   tags: 
     - linux
   script:
     - bin/build.sh -B boot-21c -C "" -o ./snapshot/bin/lisp
-    - bin/make-dist.sh -I dist-linux linux-4
-    - bin/run-tests.sh -l dist-linux/bin/lisp 2>&1 | tee test.log
\ No newline at end of file
+    - bin/make-dist.sh -I dist linux-4
+
+test:
+  script:
+    - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
+
-- 
GitLab