aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..602b2e3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,38 @@
+image: darkmattercoder/qt-build:latest
+#entrypoint: [""]
+
+stages:
+ - Build
+ - Run
+
+Build:Code:
+ stage: Build
+ script:
+ - apt update && apt -y install make autoconf
+ - qmake rwa-support-desktopapp.pro
+ - make
+ artifacts:
+ paths:
+ - rwa-support-desktopapp
+ expire_in: 2 weeks
+
+# Disabled because running the application would give an error
+# since there are no X.Org server, Wayland or other display servers available
+# Run:Code:
+# stage: Run
+# script:
+# - echo "All files in git repo + artifact 'rwa-support-desktopapp':"
+# - find
+# - echo "Executing rwa-support-desktopapp"
+# - ./rwa-support-desktopapp
+# dependencies:
+# - Build:Code
+
+# To be implemented.
+# Test:Code:
+# stage: Test
+# script:
+# - echo "All files in git repo + artifact 'rwa-support-desktopapp':"
+# - find
+# dependencies:
+# - Build:Code