copied drone yaml
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
Gulliver 2021-11-17 23:10:14 +01:00
parent 5b8a1feb73
commit f7f8ca6dbb
1 changed files with 59 additions and 0 deletions

59
.drone.yml Normal file
View File

@ -0,0 +1,59 @@
kind: pipeline
type: docker
name: amd64-pull
platform:
os: linux
arch: amd64
steps:
- name: build-and-test
image: ubuntu:focal
commands:
- apt-get -y update
- apt-get -y install libboost-all-dev doxygen mkdocs graphviz zlib1g-dev gcc clang make cmake python3 python3-pip git openssl libssl-dev
- git clone https://github.com/CrowCpp/cpp-coveralls.git
- pip3 install . --no-input
- cd ..
- make -j4
trigger:
branch:
- main
event:
- pull_request
---
kind: pipeline
type: docker
name: amd64-master
platform:
os: linux
arch: amd64
steps:
- name: build-and-test
image: ubuntu:focal
environment:
GH_REPO_TOKEN:
from_secret: repo_token
GH_REPO_NAME: crow
GH_REPO_REF: github.com/crowcpp/crow.git
THEME_REPO_REF: github.com/crowcpp/darxygen.git
commands:
- export DRONE_BUILD_DIR=$PWD
- apt-get -y update
- apt-get -y install libboost-all-dev doxygen mkdocs graphviz zlib1g-dev gcc clang make cmake python3 python3-pip git openssl libssl-dev
- pip3 install mkdocs-material mkdocs-redirects pyyaml mkdocs-meta-descriptions-plugin --no-input
- git clone https://github.com/CrowCpp/cpp-coveralls.git
- make -j4
trigger:
branch:
- master
event:
- push