Merge branch 'main' of https://deadbeef.codes/steven/hyp
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
ffb4b7681f
24
.drone.yml
24
.drone.yml
@ -30,13 +30,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- . /root/.profile
|
- . /root/.profile
|
||||||
- cd hyp
|
- cd hyp
|
||||||
- go build .
|
- go build -o /dist/hyp-linux-amd64 .
|
||||||
- mv -f hyp /dist
|
|
||||||
- cd ../hypd/server
|
|
||||||
- go generate
|
|
||||||
- cd ..
|
|
||||||
- go build .
|
|
||||||
- mv -f hypd /dist
|
|
||||||
|
|
||||||
|
|
||||||
- name: build hypd (server) linux-amd64
|
- name: build hypd (server) linux-amd64
|
||||||
@ -54,8 +48,7 @@ steps:
|
|||||||
- cd hypd/server
|
- cd hypd/server
|
||||||
- go generate
|
- go generate
|
||||||
- cd ..
|
- cd ..
|
||||||
- go build .
|
- go build -o /dist/hypd-linux-amd64 .
|
||||||
- mv -f hypd /dist
|
|
||||||
|
|
||||||
|
|
||||||
- name: build hyp (client) windows-amd64
|
- name: build hyp (client) windows-amd64
|
||||||
@ -71,9 +64,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- . /root/.profile
|
- . /root/.profile
|
||||||
- cd hyp
|
- cd hyp
|
||||||
- go build .
|
- go build -o /dist/hyp-windows-amd64.exe .
|
||||||
- mv -f hyp.exe /dist
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
@ -86,14 +77,13 @@ steps:
|
|||||||
api_key:
|
api_key:
|
||||||
from_secret: drone_token
|
from_secret: drone_token
|
||||||
base_url: https://deadbeef.codes
|
base_url: https://deadbeef.codes
|
||||||
files: dist/*
|
files: /dist/*
|
||||||
when:
|
when:
|
||||||
target:
|
event:
|
||||||
include:
|
- tag
|
||||||
- release
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: publicrelease
|
- name: publicrelease
|
||||||
host:
|
host:
|
||||||
path: /data/public/build
|
path: /data/public/build/hyp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user