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

34 lines
450 B
YAML

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