aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-08-01 04:40:44 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-08-09 14:28:02 +0200
commitfd5e881fdee35d21fd3e0728e5b927d04e64f459 (patch)
tree91961406adb5143e0c5072094d2d1a4846e6b6b0
parentda36a2bcd7d692224f21e74ea7eafa63fa387e28 (diff)
downloadRWA.Support.DesktopApp-fd5e881fdee35d21fd3e0728e5b927d04e64f459.tar.gz
RWA.Support.DesktopApp-fd5e881fdee35d21fd3e0728e5b927d04e64f459.tar.bz2
RWA.Support.DesktopApp-fd5e881fdee35d21fd3e0728e5b927d04e64f459.zip
Update .gitlab-ci.yml to use darkmattercoder's docker image
-rw-r--r--.gitlab-ci.yml41
1 files changed, 38 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1bc0893..602b2e3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,38 @@
-# This file is a template, and might need editing before it works on your project.
-include:
- template: Jobs/Code-Quality.gitlab-ci.yml
+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