CI: experimental macos pipeline
Some checks reported errors
continuous-integration/drone/push Build encountered an error

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

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 kind: pipeline
type: exec type: exec
name: build-receiver-windows name: build-receiver-windows