-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.gitlab-ci.yml
64 lines (59 loc) · 1.21 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
stages:
- build
- test
- analyze
build_libdc1394_windows:
stage: build
when: manual
allow_failure: true
image: debian:latest
script:
- sh "lib/build/libdc1394_windows/build_libdc1394_windows.sh"
artifacts:
paths:
- install
build_simplemotion_linux:
stage: build
when: manual
allow_failure: true
image: alpine:latest
script:
- sh "lib/build/simplemotion_linux/build_simplemotion_linux.sh"
artifacts:
paths:
- build/simplemotion64.so
build_simplemotion_windows:
stage: build
when: manual
allow_failure: true
image: debian:latest
script:
- sh "lib/build/simplemotion_windows/build_simplemotion_windows.sh"
artifacts:
paths:
- build/x86/simplemotion.dll
- build/x86_64/simplemotion64.dll
lint:
stage: test
when: manual
allow_failure: true
image: python:latest
cache:
paths:
- .pip
before_script:
- python -V
- pip --cache-dir=.pip install -r requirements.txt
script:
- pylint -j 0 *.py
cloc:
stage: analyze
when: manual
image: alpine:latest
before_script:
- apk --no-cache add cloc
script:
- cloc . --exclude-list-file=clocignore.txt --report-file=cloc.txt --by-file-by-lang
artifacts:
paths:
- cloc.txt