]> git.seodisparate.com - EntityComponentMetaSystem/commitdiff
added .gitlab-ci.yml
authorStephen Seo <seo.disparate@gmail.com>
Thu, 17 Mar 2016 08:43:31 +0000 (17:43 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 17 Mar 2016 08:43:31 +0000 (17:43 +0900)
.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..287149b
--- /dev/null
@@ -0,0 +1,18 @@
+stages:
+    - build
+    - test
+
+buildJob:
+    stage: build
+    script:
+        - mkdir buildDebug
+        - cd buildDebug
+        - cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=True ../src
+        - make
+
+testJob:
+    stage: test
+    script:
+        - cd buildDebug
+        - ./UnitTests
+