2020-10-07 10:36:04 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2021-03-22 14:43:50 +00:00
|
|
|
name: linux-build
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
steps:
|
2021-03-22 14:43:50 +00:00
|
|
|
- name: linux-build
|
2021-03-22 15:22:41 +00:00
|
|
|
image: wowlet/wowlet-linux:v0.1
|
2021-03-22 17:10:01 +00:00
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
path: /drone/src/monero
|
|
|
|
- name: files
|
|
|
|
path: /tmp/wowlet_linux
|
2020-10-07 10:36:04 +00:00
|
|
|
commands:
|
2021-03-22 17:10:01 +00:00
|
|
|
- make release-static -j3
|
|
|
|
- export WOW="wowlet-`echo $DRONE_COMMIT_AFTER | cut -c 1-10`"
|
|
|
|
- cp build/bin/wowlet /tmp/wowlet_linux/$WOW
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
host:
|
|
|
|
path: /home/wow/wowlet_wownero
|
|
|
|
- name: files
|
|
|
|
host:
|
|
|
|
path: /home/wow/wowlet_linux
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2021-03-24 07:16:19 +00:00
|
|
|
name: windows-deploy
|
2020-10-07 10:36:04 +00:00
|
|
|
steps:
|
2021-03-24 07:16:19 +00:00
|
|
|
- name: windows-deploy
|
2021-03-22 15:22:41 +00:00
|
|
|
image: wowlet/wowlet-win:v0.1
|
2021-03-22 17:10:01 +00:00
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
path: /drone/src/monero
|
|
|
|
- name: files
|
|
|
|
path: /tmp/wowlet_windows
|
2020-10-07 10:36:04 +00:00
|
|
|
commands:
|
2021-03-22 17:10:01 +00:00
|
|
|
- make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j3
|
|
|
|
- export WOW="wowlet-`echo $DRONE_COMMIT_AFTER | cut -c 1-10`.exe"
|
2021-03-22 21:50:25 +00:00
|
|
|
- cp build/x86_64-w64-mingw32/release/bin/wowlet.exe /tmp/wowlet_windows/$WOW
|
2021-03-22 17:10:01 +00:00
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
host:
|
|
|
|
path: /home/wow/wowlet_wownero
|
|
|
|
- name: files
|
|
|
|
host:
|
|
|
|
path: /home/wow/wowlet_windows
|
2021-03-24 07:16:19 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- tag
|
2020-12-08 21:03:04 +00:00
|
|
|
...
|