testobuild/.drone.yml
2020-04-17 19:33:19 +00:00

36 lines
640 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: archlinux
commands:
- pacman -Sy --noconfirm
- pacman -S cmake make libffi ninja clang --noconfirm
- mkdir build
- cd build
- cmake -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ ..
- cmake ..
- make
steps:
- name: test
image: archlinux
commands:
- pacman -Sy --noconfirm
- pacman -S cmake make ninja libffi clang --noconfirm
- mkdir build
- cd build
- cmake -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ ..
- cmake ..
- make
- ./testbin
trigger:
branch:
- master
event:
- push