Browse Source

Update drone.yml

tags/v0.0.5
Peter Vivell 6 years ago
parent
commit
dc24c398d9
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      drone.yml

+ 4
- 1
drone.yml View File

@@ -7,7 +7,7 @@ platform:
7 7
 
8 8
 cache:
9 9
   mount:
10
-    - /var/cache/apt/archives
10
+    - .cache
11 11
 
12 12
 steps:
13 13
 - name: build
@@ -17,10 +17,13 @@ steps:
17 17
     BUILDDEPS: build-essential libc6-dev libhidapi-dev libssl-dev   
18 18
     MAKEFLAGS: -j 4
19 19
   commands:
20
+    - mkdir -p /var/cache/apt/archives
21
+    - cp -rp .cache/ /var/cache/apt/archives/
20 22
     - echo 'Acquire::http { Proxy "http://172.17.0.1:3142"; }' | tee -a /etc/apt/apt.conf.d/proxy
21 23
     - apt-get update
22 24
     - apt-get --yes upgrade
23 25
     - apt-get --yes install $BUILDDEPS
26
+    - cp -rp /var/cache/apt/archives .cache/
24 27
     - export MAKEFLAGS
25 28
     - make -C src
26 29
     - make -C src/contrib

Loading…
Cancel
Save