-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
140 lines (122 loc) · 2.49 KB
/
.gitlab-ci.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
.build_common:
stage: build
artifacts:
paths:
- build/
script:
- mkdir build
- cd build
- env
- CC=${CC} CXX=${CXX} cmake ../ -DCMAKE_PREFIX_PATH=${PREFIX_PATH} -G Ninja
- ninja
.build_linux:
extends: .build_common
variables:
PREFIX_PATH: /home/falco/Qt/6.0.2/gcc_64
build ubuntu20-gcc10:
extends: .build_linux
tags:
- linux
variables:
CC: gcc
CXX: g++
build ubuntu20-clang11:
extends: .build_linux
tags:
- linux, clang
variables:
CC: clang
CXX: clang++
build win10-vs2019:
extends: .build_common
tags:
- visual-studio, win10
variables:
CC: cl
CXX: cl
PREFIX_PATH: C:/Qt/6.0.2/msvc2019_64
build win10-cygwin-gcc10:
extends: .build_common
tags:
- gcc, win10
variables:
CC: gcc
CXX: g++
PREFIX_PATH: C:/Qt/6.0.2/mingw81_64
build win10-mingw8:
extends: .build_common
tags:
- mingw, win10
variables:
CC: /cygdrive/c/Qt/Tools/mingw810_64/bin/gcc
CXX: /cygdrive/c/Qt/Tools/mingw810_64/bin/g++
PREFIX_PATH: C:/Qt/6.0.2/mingw81_64
build macos-clang12:
extends: .build_common
tags:
- macos, clang
variables:
CC: clang
CXX: clang++
PREFIX_PATH: /Users/falcogirgis/Qt/6.0.2/clang_64
build macos-gcc10:
extends: .build_common
tags:
- macos, gcc
variables:
CC: gcc-10
CXX: g++-10
PREFIX_PATH: /Users/falcogirgis/Qt/6.0.2/clang_64
.test_common:
stage: test
script:
- build/test/ElysianLuaTests
test ubuntu20-gcc10:
extends: .test_common
needs: ["build ubuntu20-gcc10"]
dependencies:
- build ubuntu20-gcc10
tags:
- linux, gcc
test ubuntu20-clang11:
extends: .test_common
needs: ["build ubuntu20-clang11"]
dependencies:
- build ubuntu20-clang11
tags:
- linux, clang
test win10-vs2019:
extends: .test_common
needs: ["build win10-vs2019"]
dependencies:
- build win10-vs2019
tags:
- win10, visual-studio
test win10-cygwin-gcc10:
extends: .test_common
needs: ["build win10-cygwin-gcc10"]
dependencies:
- build win10-cygwin-gcc10
tags:
- gcc, win10
test win10-mingw8:
extends: .test_common
needs: ["build win10-mingw8"]
dependencies:
- build win10-mingw8
tags:
- mingw, win10
test macos-clang12:
extends: .test_common
needs: ["build macos-clang12"]
dependencies:
- build macos-clang12
tags:
- macos, clang
test macos-gcc10:
extends: .test_common
needs: ["build macos-gcc10"]
dependencies:
- build macos-gcc10
tags:
- macos, gcc