upm/docker-compose.yaml
Nicolas Oliver 7ec1765766 docker-compose: enable java build with clang
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2017-06-12 22:18:19 -07:00

67 lines
1.3 KiB
YAML

version: '2'
services:
main:
build:
context: .
dockerfile: Dockerfile
args:
- http_proxy
- https_proxy
- no_proxy
- BUILDDOC=OFF
- BUILDCPP=ON
- BUILDFTI=ON
- BUILDSWIGPYTHON=OFF
- BUILDSWIGJAVA=OFF
- BUILDSWIGNODE=OFF
- BUILDEXAMPLES=ON
- IPK=OFF
- RPM=OFF
- NPM=OFF
- BUILDTESTS=ON
- CC=clang-3.8
- CXX=clang++-3.8
- NODE_VERSION=v4.1.2
- WERROR=ON
environment:
- http_proxy
- https_proxy
- no_proxy
doc:
extends: main
build:
args:
- BUILDDOC=ON
command: bash -c "make -j8 doc"
python:
extends: main
build:
args:
- BUILDSWIGPYTHON=ON
command: bash -c "make -j8 && make -j8 install && ldconfig && ctest --output-on-failure"
java:
extends: main
build:
args:
- BUILDSWIGJAVA=ON
command: bash -c "make -j8 && make -j8 install && ldconfig && ctest --output-on-failure"
node4:
extends: main
build:
args:
- BUILDSWIGNODE=ON
- NODE_VERSION=v4.1.2
command: bash -c "make -j8 && make -j8 install && ldconfig && ctest --output-on-failure -E examplenames_js"
node5:
extends: node4
build:
args:
- NODE_VERSION=v5.12.0