[drone] mount vol
continuous-integration/drone/pr Build is passing Details

wowario 3 years ago
parent 2548134302
commit 392e83e733
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -6,9 +6,22 @@ name: linux-build
steps:
- name: linux-build
image: wowlet/wowlet-linux:v0.1
volumes:
- name: cache
path: /tmp/wowlet_cache_linux
- name: files
path: /tmp/wowlet_linux
commands:
- git submodule update --init --recursive
- make release-static -j2
- cp build/bin/wowlet /tmp/wowlet_linux/wowlet
volumes:
- name: cache
host:
path: /tmp/wowlet_cache_linux
- name: files
host:
path: /home/wow/wowlet_linux
---
kind: pipeline
@ -17,7 +30,20 @@ name: windows-build
steps:
- name: windows-build
image: wowlet/wowlet-win:v0.1
volumes:
- name: cache
path: /tmp/wowlet_cache_windows
- name: files
path: /tmp/wowlet_windows
commands:
- make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j2
- cp build/x86_64-w64-mingw32/release/bin/wowlet.exe /tmp/wowlet_windows/wowlet.exe
volumes:
- name: cache
host:
path: /tmp/wowlet_cache_windows
- name: files
host:
path: /home/wow/wowlet_windows
...

Loading…
Cancel
Save