JOJ3/.drone.yml
张泊明518370910136 540937c949
All checks were successful
continuous-integration/drone/push Build is passing
chore: more examples
2024-03-05 05:38:49 -05:00

20 lines
363 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
commands:
- export PATH=$PATH:/usr/local/go/bin
- go env -w GOPROXY=https://goproxy.cn,direct
- make
- ./_example/success/run.sh
- ./_example/compile_error/run.sh
- cp build/joj3 /home/drone/.local/bin/joj3