cicd: mount .conan2 directory to cache 3rd-party libs
This commit is contained in:
parent
416dc52b7a
commit
889c5c993f
13
.drone.yml
13
.drone.yml
|
@ -13,9 +13,15 @@ volumes:
|
|||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
- name: py
|
||||
temp: {}
|
||||
|
||||
- name: conan
|
||||
host:
|
||||
path: $HOME/.conan2/
|
||||
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
|
@ -41,6 +47,7 @@ steps:
|
|||
volumes:
|
||||
- name: py
|
||||
path: /opt/venv/
|
||||
|
||||
commands:
|
||||
- . /opt/venv/bin/activate
|
||||
- uname -a
|
||||
|
@ -59,6 +66,9 @@ steps:
|
|||
volumes:
|
||||
- name: py
|
||||
path: /opt/venv/
|
||||
- name: conan
|
||||
path: $HOME/.conan2
|
||||
|
||||
commands:
|
||||
- . /opt/venv/bin/activate
|
||||
- rm -rvf ./build
|
||||
|
@ -78,6 +88,9 @@ steps:
|
|||
volumes:
|
||||
- name: py
|
||||
path: /opt/venv/
|
||||
- name: conan
|
||||
path: $HOME/.conan2
|
||||
|
||||
commands:
|
||||
- . /opt/venv/bin/activate
|
||||
- rm -rvf ./build
|
||||
|
|
Loading…
Reference in New Issue