aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: c6e898e116730f725597f782dbbefcc8636f1ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
image: darkmattercoder/qt-build:latest
#entrypoint: [""]

stages:
  - Build
  - Run

RWA:Build:
  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
# RWA:Run:
#   stage: Run
#   script:
#     - echo "All files in git repo + artifact 'rwa-support-desktopapp':"
#     - find
#     - echo "Executing rwa-support-desktopapp"
#     - ./rwa-support-desktopapp
#   dependencies:
#     - RWA:Build

# To be implemented.
# RWA:Test:
#   stage: Test
#   script:
#     - echo "All files in git repo + artifact 'rwa-support-desktopapp':"
#     - find
#   dependencies:
#     - Build:Code