forked from jsj2008/lithtech
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.gitlab-ci.yml
70 lines (64 loc) · 1.4 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
before_script:
- lsb_release -a
- cmake --version
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
- test
gcc 10:
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
gcc 10 no dxvk:
image: "registry.gitlab.com/katana-steel/lithtech/gcc"
stage: build
script:
- g++ --version
- rm -f /usr/share/pkgconfig/dxvk*
- mkdir build
- cd build
- cmake -G Ninja -DJSON_BuildTests=off ..
- cmake --build .
allow_failure: true
artifacts:
paths:
- build/OUT
- build/*/*/lib*
- build/*/*/*/lib*
expire_in: 2 days
clang 11:
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/testRandGen
- OUT/testDynRes tests/DynResDLL/libtestCRes.so
- OUT/testDynRes NOLF2/ClientRes/TO2/libCRes.so