mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-22 10:55:56 +08:00
更新硬件SDK
This commit is contained in:
32
sdk/合宙/air780e/csdk/luatos-soc-2022/.drone.yml
Normal file
32
sdk/合宙/air780e/csdk/luatos-soc-2022/.drone.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
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`\`"}"'
|
||||
|
||||
Reference in New Issue
Block a user