Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
dd8b19f90e | |||
767ca5dadd |
52
.drone.yml
52
.drone.yml
@@ -1,18 +1,34 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build_linux_test
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: build_test
|
||||
image: gcc
|
||||
commands:
|
||||
- echo "start test"
|
||||
- gcc main.c -o test
|
||||
- ./test
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build_linux_test
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: build_test
|
||||
image: gcc
|
||||
commands:
|
||||
- echo "start test"
|
||||
- gcc main.c -o test
|
||||
- ./test
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: promote_test
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: gcc
|
||||
commands:
|
||||
- echo "start test"
|
||||
|
Reference in New Issue
Block a user