forked from eclipse/mraa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
81 lines (73 loc) · 1.92 KB
/
docker-compose.yaml
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
version: '2.1'
services:
main:
build:
context: .
dockerfile: Dockerfile
args:
- http_proxy
- https_proxy
- no_proxy
- BUILDDOC=${BUILDDOC:-OFF}
- BUILDSWIG=${BUILDSWIG:-OFF}
- BUILDSWIGPYTHON=${BUILDSWIGPYTHON:-OFF}
- BUILDSWIGJAVA=${BUILDSWIGJAVA:-OFF}
- BUILDSWIGNODE=${BUILDSWIGNODE:-OFF}
- USBPLAT=${USBPLAT:-OFF}
- FIRMATA=${FIRMATA:-OFF}
- ONEWIRE=${ONEWIRE:-OFF}
- JSONPLAT=${JSONPLAT:-OFF}
- IMRAA=${IMRAA:-OFF}
- FTDI4222=${FTDI4222:-OFF}
- IPK=${IPK:-OFF}
- RPM=${RPM:-OFF}
- ENABLEEXAMPLES=${ENABLEEXAMPLES:-ON}
- INSTALLGPIOTOOL=${INSTALLGPIOTOOL:-OFF}
- INSTALLTOOLS=${INSTALLTOOLS:-OFF}
- BUILDTESTS=${BUILDTESTS:-ON}
- CC=${CC:-clang-3.8}
- CXX=${CXX:-clang++-3.8}
- NODE_VERSION=${NODE_VERSION:-v4.4.7}
- BUILDARCH=${BUILDARCH}
environment:
- http_proxy
- https_proxy
- no_proxy
doc:
extends: main
build:
args:
- BUILDDOC=ON
command: bash -c "make doc"
python2:
extends: main
build:
args:
- BUILDSWIG=ON
- BUILDSWIGPYTHON=ON
command: bash -c "make _python2-mraa && ctest --output-on-failure"
python3:
extends: python2
command: bash -c "make _python3-mraa && ctest --output-on-failure"
java:
extends: main
build:
args:
- BUILDSWIG=ON
- BUILDSWIGJAVA=ON
- CC=gcc-4.8
- CXX=g++-4.8
command: bash -c "make mraajava && ctest --output-on-failure"
node4:
extends: main
build:
args:
- BUILDSWIG=ON
- BUILDSWIGNODE=ON
- NODE_VERSION=v4.4.7
command: bash -c "source /root/.nvm/nvm.sh && make npmpkg && cd .. && node-gyp configure && node-gyp build && npm test"
node5:
extends: node4
build:
args:
- NODE_VERSION=v5.12.0