forked from Katana-Steel/lithtech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
51 lines (46 loc) · 1013 Bytes
/
.gitlab-ci.yml
File metadata and controls
51 lines (46 loc) · 1013 Bytes
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
before_script:
- lsb_release -a
- cmake --version
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
- test
gcc 7:
image: "registry.gitlab.com/katana-steel/lithtech/gcc"
stage: build
script:
- g++ --version
- mkdir build
- cd build
- cmake -G Ninja -DJSON_BuildTests=off ..
- cmake --build .
artifacts:
paths:
- build/OUT
- build/*/*/lib*
- build/*/*/*/lib*
expire_in: 2 days
clang 5:
image: "registry.gitlab.com/katana-steel/lithtech/clang"
stage: build
script:
- clang --version
- mkdir build
- cd build
- cmake -G Ninja -DJSON_BuildTests=off ..
- cmake --build .
allow_failure: true
artifacts:
paths:
- build/OUT
- build/*/*/lib*
expire_in: 2 days
testing:
image: "registry.gitlab.com/katana-steel/lithtech/gcc"
stage: test
script:
- cd build
- OUT/testRegMgr
- OUT/testDynRes tests/DynResDLL/libtestCRes.so
- OUT/testDynRes NOLF2/ClientRes/TO2/libCRes.so