Skip to content
Permalink
Browse files

create CCACHE dir

  • Loading branch information
3nids committed Mar 6, 2019
1 parent 1e74a07 commit 9c2993f4e856ac6f950620ebc01c353c1cc79c40
Showing with 3 additions and 2 deletions.
  1. +1 −1 .ci/travis/docker_image/script.sh
  2. +2 −1 .docker/qgis.dockerfile
@@ -35,7 +35,7 @@ docker push "qgis/qgis:${DOCKER_TAG}"
echo "Copy build cache from Docker container to Travis cache directory"
rm -rf "${CCACHE_DIR:?}/"*
docker run --name qgis_container qgis/qgis:${DOCKER_TAG} /bin/true
docker cp qgis_container:/usr/src/QGIS/.ccache_image_build ${CCACHE_DIR}
docker cp qgis_container:/usr/src/.ccache_image_build ${CCACHE_DIR}
docker rm qgis_container
popd
echo "Trigger build of PyQGIS Documentation"
@@ -17,7 +17,8 @@ ENV LANG=C.UTF-8
COPY . /usr/src/QGIS

# If this directory is changed, also adapt script.sh which copies the directory
ENV CCACHE_DIR=/usr/src/QGIS/.ccache_image_build
RUN mkdir -p /usr/src/.ccache_image_build
ENV CCACHE_DIR=/usr/src/.ccache_image_build
RUN ccache -M 1G
RUN ccache -s

0 comments on commit 9c2993f

Please sign in to comment.
You can’t perform that action at this time.