testobuild/.drone.yml
2020-04-17 18:00:42 +00:00

30 lines
305 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: gcc
commands:
- mkdir build
- cd build
- cmake ..
- make
steps:
- name: test
image: alpine
commands:
- mkdir build
- cd build
- cmake ..
- make
- ./testbin
trigger:
branch:
- master
event:
- push