Merge branch 'main' of https://deadbeef.codes/steven/hyp
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing

This commit is contained in:
2024-04-14 18:39:17 -06:00
2 changed files with 42 additions and 1 deletions

View File

@@ -16,7 +16,8 @@ steps:
include:
- environment
- name: build hyp linux-amd64
- name: build hyp (client) linux-amd64
image: registry.deadbeef.codes/hyp-build:latest
pull: always
volumes:
@@ -37,6 +38,44 @@ steps:
- go build .
- mv -f hypd /dist
- name: build hypd (server) linux-amd64
image: registry.deadbeef.codes/hyp-build:latest
pull: always
volumes:
- name: publicrelease
path: /dist
environment:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0
commands:
- . /root/.profile
- cd hypd/server
- go generate
- cd ..
- go build .
- mv -f hypd /dist
- name: build hyp (client) windows-amd64
image: registry.deadbeef.codes/hyp-build:latest
pull: always
volumes:
- name: publicrelease
path: /dist
environment:
GOOS: windows
GOARCH: amd64
CGO_ENABLED: 0
commands:
- . /root/.profile
- cd hyp
- go build .
- mv -f hyp.exe /dist
- name: release
image: plugins/gitea-release
pull: always