From fd5e881fdee35d21fd3e0728e5b927d04e64f459 Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Sun, 1 Aug 2021 04:40:44 +0200 Subject: Update .gitlab-ci.yml to use darkmattercoder's docker image --- .gitlab-ci.yml | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file 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 -- cgit v1.2.3