Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Try ccache on gitlab
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
  • Loading branch information
lbonn committed Jul 5, 2019
1 parent 3a13ffa commit 984157e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ci/gitlab/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ variables:
UBUNTU_BIONIC_PR_INSTALLIMAGE: ${CI_REGISTRY_IMAGE}:ci-install-${CI_COMMIT_REF_SLUG}-UBUNTU_BIONIC
UBUNTU_XENIAL_PR_INSTALLIMAGE: ${CI_REGISTRY_IMAGE}:ci-install-${CI_COMMIT_REF_SLUG}-UBUNTU_XENIAL

CCACHE_DIR: $CI_PROJECT_DIR/ccache

GIT_SUBMODULE_STRATEGY: recursive

Docker Setup:
Expand Down Expand Up @@ -58,6 +60,10 @@ coverage:
TEST_SOTA_PACKED_CREDENTIALS: "$CI_PROJECT_DIR/credentials.zip"
image: "$UBUNTU_BIONIC_PR_IMAGE"
stage: test
cache:
key: "$CI_JOB_NAME"
paths:
- ccache/
artifacts:
paths:
- build-coverage/coverage/
Expand All @@ -72,6 +78,10 @@ nop11:
TEST_WITH_TESTSUITE: '0'
image: "$UBUNTU_BIONIC_PR_IMAGE"
stage: test
cache:
key: "$CI_JOB_NAME"
paths:
- ccache/
script:
- ./scripts/test.sh

Expand All @@ -88,6 +98,10 @@ debian-build+static:
TEST_WITH_DOCS: '1'
image: "$DEBIAN_TESTING_PR_IMAGE"
stage: test
cache:
key: "$CI_JOB_NAME"
paths:
- ccache/
script:
- ./scripts/test.sh

Expand All @@ -99,6 +113,10 @@ bionic-pkg:

image: "$UBUNTU_BIONIC_PR_IMAGE"
stage: test
cache:
key: "$CI_JOB_NAME"
paths:
- ccache/
artifacts:
paths:
- build-bionic/pkg
Expand All @@ -114,6 +132,10 @@ xenial-pkg:

image: "$UBUNTU_XENIAL_PR_IMAGE"
stage: test
cache:
key: "$CI_JOB_NAME"
paths:
- ccache/
artifacts:
paths:
- build-xenial/pkg
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.debian.testing
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN apt-get update && apt-get -y install \
autoconf \
automake \
bison \
ccache \
clang-6.0 \
clang-tidy-6.0 \
clang-tools-6.0 \
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.ubuntu.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN apt-get update && apt-get -y install \
asn1c \
automake \
bison \
ccache \
clang-format-6.0 \
cmake \
curl \
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.ubuntu.xenial
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN apt-get update && apt-get -y install \
asn1c \
automake \
bison \
ccache \
cmake \
curl \
e2fslibs-dev \
Expand Down

0 comments on commit 984157e

Please sign in to comment.