From 8fa2deed1e01bf1985dd5fe4c96ad898a2d72cc3 Mon Sep 17 00:00:00 2001
From: Jason Hiser <jdh8d@virginia.edu>
Date: Tue, 6 Nov 2018 17:06:50 -0800
Subject: [PATCH] fixed to cache build between runs

---
 .gitlab-ci.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 97ed43762..4c1061230 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,6 +18,7 @@ do-build:
     - "env|grep CICD"
     - ""
     - "cd $CICD_TO_TEST_DIR"
+    - "cp -r . /tmp/peasoup_test
     - "source set_env_vars"
     - "sudo ./get-peasoup-packages.sh all"
     - "./build-all.sh --debug"
@@ -29,7 +30,7 @@ xform-ls:
     - psz
     - integration
   script:
-    - "cd $CICD_TO_TEST_DIR"
+    - "cd /tmp/peasoup_test"
     - "source set_env_vars"
     - "cd /tmp"
     - "rm -rf xxx ped_ls; $PSZ /bin/ls ./xxx -c rida=on -s meds_static=off --tempdir ped_ls || true"
@@ -44,7 +45,7 @@ basic-pgms-rida:
     - psz
     - integration
   script:
-    - "cd $CICD_TO_TEST_DIR"
+    - "cd /tmp/peasoup_test"
     - "source set_env_vars"
     - "cd $CICD_TO_TEST_DIR/peasoup_examples/tests"
     - "cd $PEASOUP_HOME/tests; make clean; ./test_cmds.sh rida"
@@ -55,7 +56,7 @@ basic-pgms-rida-p1:
     - psz
     - integration
   script:
-    - "cd $CICD_TO_TEST_DIR"
+    - "cd /tmp/peasoup_test"
     - "source set_env_vars"
     - "cd $CICD_TO_TEST_DIR/peasoup_examples/tests"
     - "cd $PEASOUP_HOME/tests; make clean; ./test_cmds.sh rida_p1"
-- 
GitLab