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

31 lines
329 B
YAML

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