JOJ3/.drone.yml
张泊明518370910136 0c1ed2a3c2
All checks were successful
continuous-integration/drone/push Build is passing
chore: move /_example to /examples
2024-03-08 18:48:13 -05:00

23 lines
430 B
YAML

---
kind: pipeline
type: ssh
name: CI
server:
host: 111.186.59.59
user: drone
ssh_key:
from_secret: joj3-test
steps:
- name: build
environment:
CONF_GITEATOKEN:
from_secret: gitea-token
commands:
- export PATH=$PATH:/usr/local/go/bin
- go env -w GOPROXY=https://goproxy.cn,direct
- make
- ./examples/success/run.sh
- ./examples/compile_error/run.sh
- cp build/joj3 /home/drone/.local/bin/joj3