47 Star 112 Fork 82

合宙Luat / luatos-soc-2022

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.drone.yml 779 Bytes
一键复制 编辑 原始数据 按行查看 历史
晨旭 提交于 2022-11-30 14:58 . fix: 限制ci每次只允许一个
kind: pipeline
type: exec
name: shell
concurrency:
limit: 1
platform:
os: windows
arch: amd64
steps:
- name: build
commands:
- cd ..
- git clone https://gitee.com/openLuat/LuatOS.git
- cd src
- $env:PROJECT_NAME="luatos"
- $env:ROOT_PATH="$(Get-Location)/"
- $env:XMAKE_GLOBALDIR="C:/Users/14917/Desktop"
- xmake; if($?){echo success}else{echo fail; exit -1}
- name: notify
when:
status:
- failure
environment:
token:
from_secret: github_token
commands:
- 'curl.exe -X POST -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/openLuat/LuatOS/dispatches -H "Authorization: token $env:token " -d "{`\`"event_type`\`": `\`"webhook_air780ci_notify`\`"}"'
1
https://gitee.com/openLuat/luatos-soc-2022.git
git@gitee.com:openLuat/luatos-soc-2022.git
openLuat
luatos-soc-2022
luatos-soc-2022
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891