projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbb9b73
)
add pip and apt to gitlab cache
author
Jacob Lifshay
<programmerjake@gmail.com>
Mon, 6 Apr 2020 01:53:14 +0000
(18:53 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Mon, 6 Apr 2020 01:53:14 +0000
(18:53 -0700)
.gitlab-ci.yml
patch
|
blob
|
history
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index 037653e935cc787ece3bb015f7604cc512564f65..670de134e09b149507430248e2d4ea0d8adfcc38 100644
(file)
--- a/
.gitlab-ci.yml
+++ b/
.gitlab-ci.yml
@@
-3,16
+3,19
@@
image: debian:10
cache:
paths:
- ccache
cache:
paths:
- ccache
+ - .cache/pip
+ - apt-cache
variables:
variables:
+ PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
GIT_SUBMODULE_STRATEGY: recursive
build:
stage: build
before_script:
GIT_SUBMODULE_STRATEGY: recursive
build:
stage: build
before_script:
- - apt-get update
+ - apt-get
-o dir::cache::archives="apt-cache"
update
- >-
- >-
- apt-get -y install
+ apt-get -
o dir::cache::archives="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
build-essential git python3-dev python3-pip
python3-setuptools python3-wheel pkg-config tcl-dev
libreadline-dev bison flex libffi-dev ccache python3-venv