|
|
|
@ -8,17 +8,18 @@ steps:
|
|
|
|
|
image: wowlet/wowlet-linux:v0.1
|
|
|
|
|
volumes:
|
|
|
|
|
- name: cache
|
|
|
|
|
path: /tmp/wowlet_cache_linux
|
|
|
|
|
path: /drone/src/monero
|
|
|
|
|
- name: files
|
|
|
|
|
path: /tmp/wowlet_linux
|
|
|
|
|
commands:
|
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
- make release-static -j2
|
|
|
|
|
- cp build/bin/wowlet /tmp/wowlet_linux/wowlet
|
|
|
|
|
- export WOW="wowlet-`echo $DRONE_COMMIT_AFTER | cut -c 1-7`"
|
|
|
|
|
- cp build/bin/wowlet /tmp/wowlet_linux/$WOW
|
|
|
|
|
volumes:
|
|
|
|
|
- name: cache
|
|
|
|
|
host:
|
|
|
|
|
path: /tmp/wowlet_cache_linux
|
|
|
|
|
path: /home/wow/wowlet_wownero
|
|
|
|
|
- name: files
|
|
|
|
|
host:
|
|
|
|
|
path: /home/wow/wowlet_linux
|
|
|
|
@ -32,16 +33,17 @@ steps:
|
|
|
|
|
image: wowlet/wowlet-win:v0.1
|
|
|
|
|
volumes:
|
|
|
|
|
- name: cache
|
|
|
|
|
path: /tmp/wowlet_cache_windows
|
|
|
|
|
path: /drone/src/monero
|
|
|
|
|
- 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
|
|
|
|
|
- export WOW="wowlet-`echo $DRONE_COMMIT_AFTER | cut -c 1-7`.exe"
|
|
|
|
|
- cp build/x86_64-w64-mingw32/release/bin/wowlet.exe /tmp/wowlet_windows/$WOW.exe
|
|
|
|
|
volumes:
|
|
|
|
|
- name: cache
|
|
|
|
|
host:
|
|
|
|
|
path: /tmp/wowlet_cache_windows
|
|
|
|
|
path: /home/wow/wowlet_wownero
|
|
|
|
|
- name: files
|
|
|
|
|
host:
|
|
|
|
|
path: /home/wow/wowlet_windows
|
|
|
|
|