2020-04-17 16:17:19 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
2020-04-18 14:42:53 +00:00
|
|
|
|
|
|
|
|
2020-04-18 14:52:44 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
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 > template.txt
|
|
|
|
- ./testbin
|
|
|
|
notify:
|
|
|
|
image: appleboy/drone-telegram
|
|
|
|
template: file:///drone/src/git.tau.aperturect.com/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/template.txt
|
|
|
|
settings:
|
|
|
|
token: 1008627097:AAGJdFwxwV5eUNWHuI9LnO-_oRCNUirLTx0
|
|
|
|
to: -1001226107365
|
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:
|
2020-04-18 14:42:53 +00:00
|
|
|
- push
|