[circleci] build mapnik before testing so that ccache dir is saved [skip ci]
This commit is contained in:
parent
5a9c6ae0f7
commit
ba7e78ac7d
2 changed files with 8 additions and 10 deletions
15
circle.yml
15
circle.yml
|
@ -13,13 +13,6 @@ machine:
|
||||||
post:
|
post:
|
||||||
- echo "there"
|
- echo "there"
|
||||||
|
|
||||||
# https://circleci.com/docs/manually#databases
|
|
||||||
|
|
||||||
database:
|
|
||||||
override:
|
|
||||||
- psql -c 'create database template_postgis;'
|
|
||||||
- psql -c 'create extension postgis;' -d template_postgis
|
|
||||||
|
|
||||||
checkout:
|
checkout:
|
||||||
post:
|
post:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
|
@ -38,7 +31,13 @@ dependencies:
|
||||||
- which clang-${LLVM_VERSION}
|
- which clang-${LLVM_VERSION}
|
||||||
- which clang++-${LLVM_VERSION}
|
- which clang++-${LLVM_VERSION}
|
||||||
|
|
||||||
|
database:
|
||||||
|
pre:
|
||||||
|
- ./scripts/circleci.sh
|
||||||
|
override:
|
||||||
|
- psql -c 'create database template_postgis;'
|
||||||
|
- psql -c 'create extension postgis;' -d template_postgis
|
||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- ./scripts/circleci.sh
|
- make test
|
||||||
|
|
|
@ -9,5 +9,4 @@ ${CCACHE} --version
|
||||||
${CCACHE} -p || true
|
${CCACHE} -p || true
|
||||||
${CCACHE} --show-stats || true
|
${CCACHE} --show-stats || true
|
||||||
./configure CC="clang-${LLVM_VERSION}" CXX="${CCACHE} clang++-${LLVM_VERSION} -Qunused-arguments"
|
./configure CC="clang-${LLVM_VERSION}" CXX="${CCACHE} clang++-${LLVM_VERSION} -Qunused-arguments"
|
||||||
make
|
make
|
||||||
make test
|
|
Loading…
Reference in a new issue