Add clang and README

This commit is contained in:
Patrick Niklaus
2015-03-16 12:44:49 +01:00
parent 1acde593b5
commit 00b0ff50f3
4 changed files with 26 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
# Docker based continious integration
Run ```./docker/build-image.sh``` to build a docker image.
The image contains all the build dependencies and the state of the local git repository.
Run ```./docker/run-gcc.sh``` to build OSRM with g++ and run all tests.
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
set -o pipefail
docker build \
-t mapbox/osrm:linux \
docker/
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
set -o pipefail
docker run \
-i \
-e "CXX=clang++" \
-v `pwd`:/home/mapbox/osrm-backend \
-t mapbox/osrm:linux \
osrm-backend/docker/test.sh
-4
View File
@@ -3,10 +3,6 @@
set -e
set -o pipefail
docker build \
-t mapbox/osrm:linux \
docker/
docker run \
-i \
-e "CXX=g++" \