aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 602b2e3d23b80dc455e2148258687db6aa5acc17 (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

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