CI: experimental macos pipeline
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Dorian Zedler 2023-02-18 10:31:50 +01:00
parent 0c08f8aee2
commit 398d11f178
Signed by: dorian
GPG Key ID: 989DE36109AFA354
1 changed files with 49 additions and 0 deletions

View File

@ -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