From f57cc5f5f5786da11eb7ee14546a75c77bd73229 Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Mon, 5 Nov 2018 21:50:37 +0100
Subject: [PATCH] Adding CI to pdata

---
 .gitlab-ci.yml | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..2799f0d32
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,60 @@
+centos_build:
+  stage: build
+  tags:
+    - centos
+  artifacts:
+    paths:
+      - ./openfpm_data/build/src/mem_map
+  script:
+    - ./build.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS pdata NO $CI_COMMIT_REF_NAME
+
+      #centos_run:
+      #  stage: test
+      #  tags:
+      #    - centos
+      #  dependencies:
+      #    - centos_build
+      #  script:
+      #    - ./openfpm_data/build/src/mem_map
+      #    - ./success.sh 2 centos openfpm_devices
+
+mac_build:
+  stage: build
+  tags:
+    - mac
+  artifacts:
+    paths:
+      - ./openfpm_data/build/src/mem_map
+  script:
+    - ./build.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS pdata NO $CI_COMMIT_REF_NAME
+
+      #mac_run:
+      #  stage: test
+      #  tags:
+      #    - mac
+      #  dependencies:
+      #    - mac_build
+      #  script:
+      #    - ./openfpm_data/build/src/mem_map
+      #    - ./success.sh 2 mac openfpm_devices
+
+ubuntu_build:
+  stage: build
+  tags:
+    - ubuntu
+  artifacts:
+    paths:
+      - ./openfpm_data/build/src/mem_map
+  script:
+    - ./build.sh $CI_PROJECT_DIR $CI_RUNNER_EXECUTABLE_TAGS pdata NO $CI_COMMIT_REF_NAME
+
+      #ubuntu_run:
+      #  stage: test
+      #  tags:
+      #    - ubuntu
+      #  dependencies:
+      #    - ubuntu_build
+      #  script:
+      #    - ./openfpm_data/build/src/mem_map
+      #    - ./success.sh 2 ubuntu openfpm_devices
+
-- 
GitLab