diff options
-rw-r--r-- | .gitlab-ci.yml | 41 |
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 |