blob: 560d77712599ec41d3cab7ecd6ba0077cae6f129 (
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
39
40
41
42
43
44
45
46
47
48
49
50
|
image: darkmattercoder/qt-build:latest
#entrypoint: [""]
stages:
- Build
- Test
# - Run
RWA:Build:
stage: Build
script:
- pwd
# list all files in whole git repo
- echo "List all files:"
- find ../
- sudo apt update && sudo apt -y install make autoconf
- mkdir build && cd build
- qmake ../rwa-support-desktop.pro
- make -j4
# list all files in whole git repo
- echo "All files including artifacts "rwa-support-desktopapp" and "tests" binaries:"
- find ../
artifacts:
paths:
- build/tests/tests
- build/rwa-support-desktopapp/rwa-support-desktopapp
expire_in: 1 weeks
# Disabled because running the application would give an error
# since there is no X.Org server, Wayland or other display server 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
# needs: ["RWA:Build"]
RWA:Test:
stage: Test
script:
- sudo apt update && sudo apt -y install xvfb
- pwd
# list all files in whole git repo
- echo "All files:"
- find
- cd build/tests
- xvfb-run ./tests
needs: ["RWA:Build"]
|