ci: use gitea actions instead of drone #40

Merged
张泊明518370910136 merged 40 commits from actions into master 2024-09-20 08:03:01 +08:00
Showing only changes of commit 9f2a26dc1e - Show all commits

View File

@ -1,31 +0,0 @@
---
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
- git status -v
- git log -1
- name: build
commands:
- make
- name: test
commands:
- make prepare-test
- make test
- name: store
commands:
- cp build/joj3 /home/drone/.local/bin/joj3