From 579bf65fffffe8c754e75ed6f54f2e1eac8db190 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Mon, 17 Aug 2020 13:56:26 +0200
Subject: [PATCH] [ci] Enable ccache in container build.

---
 scripts/ci/jobs/container.yml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/scripts/ci/jobs/container.yml b/scripts/ci/jobs/container.yml
index 134c0dc1a5f..e40e525d390 100644
--- a/scripts/ci/jobs/container.yml
+++ b/scripts/ci/jobs/container.yml
@@ -8,8 +8,17 @@ container:
   extends:
     - .container-maker-setup
   script:
-    - python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . --pm system --cvode --build_args ' --progress=plain'
-    - python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs . --pm system --cvode --ompi 4.0.4 --base_image centos:8 --build_args ' --progress=plain'
+    - >
+      python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs .
+      --build_args ' --progress=plain'
+      --pm system --cvode --ccache
+      --cmake_args ' -DBUILD_TESTING=OFF'
+    - >
+      python ThirdParty/container-maker/ogscm/cli.py -B -C -R --ogs .
+      --build_args '--progress=plain'
+      --pm system --cvode --ccache
+      --cmake_args ' -DBUILD_TESTING=OFF'
+      --ompi 4.0.4 --base_image centos:8
   artifacts:
     name: container
     paths:
-- 
GitLab