forked from gulliver/rtfm
60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
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
|
|
|