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

32 lines
357 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:
- apt install -y cmake
- mkdir build
- cd build
- cmake ..
- make
- ./testbin
trigger:
branch:
- master
event:
- push