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

Try ccache on gitlab #1249

Merged
merged 1 commit into from
Jul 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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