JOJ3/.drone.yml
张泊明518370910136 51539c1e7c
All checks were successful
continuous-integration/drone/push Build is passing
feat: cpplint parser (#22)
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: FOCS-dev/JOJ3#22
2024-04-04 07:29:00 +08:00

33 lines
632 B
YAML

---
kind: pipeline
type: ssh
name: CI
server:
host: 111.186.59.59
user: drone
ssh_key:
from_secret: joj3-test
steps:
- name: prepare
commands:
- go env -w GOPROXY=https://goproxy.cn,direct
- whoami
- pwd
- env
- go version
- go env
- name: build
commands:
- make
- name: test
environment:
CONF_GITEATOKEN:
from_secret: gitea-token
commands:
- make prepare-test
- make test
- name: store
commands:
- cp build/joj3 /home/drone/.local/bin/joj3