You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wowlet/.drone.yml

55 lines
1.1 KiB

---
kind: pipeline
type: docker
3 years ago
name: linux-build
steps:
3 years ago
- name: linux-build
image: wowlet/wowlet-linux:v0.1
volumes:
- name: cache
path: /drone/src/monero
- name: files
path: /tmp/wowlet_linux
commands:
- 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
---
kind: pipeline
type: docker
name: windows-deploy
steps:
- name: windows-deploy
image: wowlet/wowlet-win:v0.1
volumes:
- name: cache
path: /drone/src/monero
- name: files
path: /tmp/wowlet_windows
commands:
- 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"
- cp build/x86_64-w64-mingw32/release/bin/wowlet.exe /tmp/wowlet_windows/$WOW
volumes:
- name: cache
host:
path: /home/wow/wowlet_wownero
- name: files
host:
path: /home/wow/wowlet_windows
trigger:
branch:
- master
event:
- tag
...