From 0a2da52081a9f439d56deaa74dd076d008805021 Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Mon, 13 May 2019 18:52:08 +0200
Subject: [PATCH] Begin splitting of .gitlab-ci.yml file

---
 .gitlab-ci.yml              | 29 ++---------------------------
 .gitlab-ci/gcc8-seq-dbg.yml | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 27 deletions(-)
 create mode 100644 .gitlab-ci/gcc8-seq-dbg.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3a07816f2..d25e4aafb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,33 +6,8 @@ stages:
 variables:
   CTEST_OUTPUT_ON_FAILURE: 1
 
-build:gcc8-seq-dbg:
-  image: localhost:5000/ubuntu_gcc8
-  stage: build
-  script:
-    - mkdir -p build/gcc8-dbg
-    - cd build/gcc8-dbg
-    - CXX=g++-8 CC=gcc-8 cmake ../.. -DCMAKE_BUILD_TYPE=Debug
-    - make pugs
-  cache:
-    key: "${CI_COMMIT_REF_SLUG}-gcc8-dbg"
-    paths:
-      - build/gcc8-dbg
-    untracked: true
-
-test:gcc8-seq-dbg:
-  image: localhost:5000/ubuntu_gcc8
-  stage: test
-  dependencies:
-    - build:gcc8-seq-dbg
-  script:
-    - cd build/gcc8-dbg
-    - make run_unit_tests
-  cache:
-    key: "${CI_COMMIT_REF_SLUG}-gcc8-dbg"
-    paths:
-      - build/gcc8-dbg
-    untracked: true
+include:
+  - local: '/.gitlab-ci/gcc8-seq-dbg.yml'
 
 build:clang8-seq-coverage:
   image: localhost:5000/ubuntu_clang8
diff --git a/.gitlab-ci/gcc8-seq-dbg.yml b/.gitlab-ci/gcc8-seq-dbg.yml
new file mode 100644
index 000000000..5ed3909e1
--- /dev/null
+++ b/.gitlab-ci/gcc8-seq-dbg.yml
@@ -0,0 +1,27 @@
+build:gcc8-seq-dbg:
+  image: localhost:5000/ubuntu_gcc8
+  stage: build
+  script:
+    - mkdir -p build/gcc8-dbg
+    - cd build/gcc8-dbg
+    - CXX=g++-8 CC=gcc-8 cmake ../.. -DCMAKE_BUILD_TYPE=Debug
+    - make pugs
+  cache:
+    key: "${CI_COMMIT_REF_SLUG}-gcc8-dbg"
+    paths:
+      - build/gcc8-dbg
+    untracked: true
+
+test:gcc8-seq-dbg:
+  image: localhost:5000/ubuntu_gcc8
+  stage: test
+  dependencies:
+    - build:gcc8-seq-dbg
+  script:
+    - cd build/gcc8-dbg
+    - make run_unit_tests
+  cache:
+    key: "${CI_COMMIT_REF_SLUG}-gcc8-dbg"
+    paths:
+      - build/gcc8-dbg
+    untracked: true
-- 
GitLab