testobuild/.drone.yml

32 lines
378 B
YAML
Raw Normal View History

2020-04-17 16:17:19 +00:00
kind: pipeline
type: docker
name: default
steps:
- name: build
2020-04-17 18:11:09 +00:00
image: archlinux
2020-04-17 16:17:19 +00:00
commands:
2020-04-17 18:14:33 +00:00
- pacman -S cmake --noconfirm
2020-04-17 16:17:19 +00:00
- mkdir build
- cd build
- cmake ..
- make
steps:
- name: test
2020-04-17 18:11:09 +00:00
image: archlinux
2020-04-17 16:17:19 +00:00
commands:
2020-04-17 18:14:33 +00:00
- pacman -S cmake --noconfirm
2020-04-17 16:17:19 +00:00
- mkdir build
- cd build
- cmake ..
- make
2020-04-17 17:59:32 +00:00
- ./testbin
2020-04-17 18:00:42 +00:00
trigger:
2020-04-17 17:59:32 +00:00
branch:
2020-04-17 18:00:42 +00:00
- master
event:
- push