From 0de37607b1fbfa90247bcc76dbf2bfc127d434ff Mon Sep 17 00:00:00 2001
From: Raymond Toy <toy.raymond@gmail.com>
Date: Sat, 4 Nov 2017 09:41:02 -0700
Subject: [PATCH] Put everything in one job with a linux tag.

---
 .gitlab-ci.yml | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9cc71d89e..caf5886e8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,26 +1,14 @@
-stages:
-  - setup
-  - build
-  - test
-
-setup:
-  tags: 
-   - linux
-  script:
+linux-runner:
+  tags:
+    - linux
+  before_script:
     - apt-get update -qq && apt-get install -y wget bzip2 make gcc gcc-multilib time bc git
     - wget -nv https://common-lisp.net/project/cmucl/downloads/snapshots/2017/10/cmucl-2017-10-x86-linux.tar.bz2
     - wget -nv https://common-lisp.net/project/cmucl/downloads/snapshots/2017/10/cmucl-2017-10-x86-linux.extra.tar.bz2
     - mkdir snapshot
     - (cd snapshot; tar xjf ../cmucl-2017-10-x86-linux.tar.bz2; tar xjf ../cmucl-2017-10-x86-linux.extra.tar.bz2)
-
-build:
-  tags: 
-    - linux
   script:
     - bin/build.sh -B boot-21c -C "" -o ./snapshot/bin/lisp
     - bin/make-dist.sh -I dist linux-4
-
-test:
-  script:
     - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
 
-- 
GitLab