CI: experimental macos pipeline
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
0c08f8aee2
commit
398d11f178
1 changed files with 49 additions and 0 deletions
49
.drone.yml
49
.drone.yml
|
@ -1,3 +1,52 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: start-github-action
|
||||
steps:
|
||||
- name: create workflow_dispatch event
|
||||
image: itsblue.dev/plugins/github-workflow-controller
|
||||
settings:
|
||||
github_token:
|
||||
from_secret: github-token
|
||||
github_repo: "dorianim/drone-runner"
|
||||
workflow_id: "drone.yml"
|
||||
workflow_actions: start
|
||||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: build-receiver-macos
|
||||
platform:
|
||||
os: darwin
|
||||
arch: amd64
|
||||
steps:
|
||||
- name: test
|
||||
commands:
|
||||
- cd receiver
|
||||
- cargo build --release
|
||||
- ls target/release
|
||||
depends_on:
|
||||
- start-github-action
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: stop-github-action
|
||||
steps:
|
||||
- name: cancel and delete workflow
|
||||
image: itsblue.dev/plugins/github-workflow-controller
|
||||
settings:
|
||||
github_token:
|
||||
from_secret: github-token
|
||||
github_repo: "dorianim/drone-runner"
|
||||
workflow_id: "drone.yml"
|
||||
workflow_actions: cancel,delete
|
||||
depends_on:
|
||||
- build-receiver-windows
|
||||
trigger:
|
||||
status:
|
||||
- success
|
||||
#- failure
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: build-receiver-windows
|
||||
|
|
Loading…
Reference in a new issue