summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..fb3ec63
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,24 @@
+image: registry.gitlab.com/kurator1/kurator/archlinux-kurator
+
+build-linux:
+ stage: build
+ script:
+ - cmake -B build-linux/ .
+ - cmake --build build-linux/
+ artifacts:
+ paths:
+ - build-linux/kurator/kurator
+
+build-windows:
+ stage: build
+ script:
+ - x86_64-w64-mingw32-cmake -B build-windows/ .
+ - cmake --build build-windows/
+ artifacts:
+ paths:
+ - build-windows/kurator/kurator
+
+test-linux:
+ stage: test
+ script:
+ - cd build-linux/ && ctest