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

36 lines
488 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
- export CXX=g++
- cd build
- cmake ..
- make
steps:
- name: test
image: archlinux
commands:
- pacman -Sy --noconfirm
- pacman -S cmake make gcc --noconfirm
- mkdir build
- cd build
- export CXX=g++
- cmake ..
- make
- ./testbin
trigger:
branch:
- master
event:
- push