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

36 lines
642 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 ..
- ninja
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 ..
- ninja
- ./testbin
trigger:
branch:
- master
event:
- push