testobuild/.drone.yml

36 lines
488 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:16:21 +00:00
- pacman -Sy --noconfirm
2020-04-17 18:18:20 +00:00
- pacman -S cmake make gcc --noconfirm
2020-04-17 16:17:19 +00:00
- mkdir build
2020-04-17 18:21:13 +00:00
- export CXX=g++
2020-04-17 16:17:19 +00:00
- 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:16:21 +00:00
- pacman -Sy --noconfirm
2020-04-17 18:18:20 +00:00
- pacman -S cmake make gcc --noconfirm
2020-04-17 16:17:19 +00:00
- mkdir build
- cd build
2020-04-17 18:21:13 +00:00
- export CXX=g++
2020-04-17 16:17:19 +00:00
- 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