From 21ddfdbef344c284bf64ca1e1040f6b89eeebd44 Mon Sep 17 00:00:00 2001 From: Gulliver Date: Wed, 17 Nov 2021 23:10:14 +0100 Subject: [PATCH] copied drone yaml --- .drone.yml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..7f84eb3 --- /dev/null +++ b/.drone.yml @@ -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 +