This repository has been archived by the owner on Jul 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
77 lines (75 loc) · 2.46 KB
/
bitbucket-pipelines.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
pipelines:
default:
- step:
name: GCC 6 compilation
image: gcc:6
script:
- apt-get update && apt-get -y install libsdl2-dev
- make clean
- make lib tests
- cd examples/posix
- make clean
- make
- step:
name: GCC 7 compilation
image: gcc:7
script:
- apt-get update && apt-get -y install libsdl2-dev
- make clean
- make lib tests
- cd examples/posix
- make clean
- make
- step:
name: GCC 8 compilation
image: gcc:8
script:
- apt-get update && apt-get -y install libsdl2-dev
- make clean
- make lib tests
- cd examples/posix
- make clean
- make
- step:
name: GCC 9 compilation
image: gcc:9
script:
- apt-get update && apt-get -y install libsdl2-dev
- make clean
- make lib tests
- cd examples/posix
- make clean
- make
- step:
name: Clang 6 compilation
image: rsmmr/clang:6.0
script:
- apt-get update && apt-get -y install libsdl2-dev
- make clean
- make lib tests
- cd examples/posix
- make clean
- make
# To save time, and under the assumption that the quality and relevance
# of scan-build findings will only improve over time, we'll perform
# static analysis with only the latest version of Clang.
- step:
name: Clang 9 compilation and static analysis
image: rsmmr/clang:9.0
script:
- apt-get update && apt-get -y install libsdl2-dev
- make clean
- scan-build make lib
- make lib tests
- cd examples/posix
- make clean
- scan-build make
- step:
name: Documentation compilation
image: gcc:9
script:
- apt-get update && apt-get -y install doxygen graphviz
- make clean
- make docs
- make clean
- make devdocs