From 780d833a75bf13e9392129b826040cc1f5f31bfb Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 6 Apr 2020 17:15:31 -0700 Subject: [PATCH] fix apt cache --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a2942ba..d3d9191f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ cache: paths: - ccache - .cache/pip - - apt-cache/ + - apt-cache variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" @@ -14,9 +14,9 @@ build: stage: build before_script: - mkdir -p apt-cache - - apt-get -o dir::cache::archives="apt-cache" update + - apt-get -o dir::cache::archives="$(pwd)/apt-cache" update - >- - apt-get -o dir::cache::archives="apt-cache" -y install + apt-get -o dir::cache::archives="$(pwd)/apt-cache" -y install build-essential git python3-dev python3-pip python3-setuptools python3-wheel pkg-config tcl-dev libreadline-dev bison flex libffi-dev ccache python3-venv -- 2.30.2