forked from gulliver/rtfm
initial version of drone yaml
updated installed packages and pip packages
This commit is contained in:
parent
0a3d80f03a
commit
1d83dd2a1c
59
.drone.yml
Normal file
59
.drone.yml
Normal 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:
|
||||||
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
|
- apt-get -y update
|
||||||
|
- apt-get -y install graphviz plantuml make python3-pip git
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- make bundle
|
||||||
|
|
||||||
|
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 DEBIAN_FRONTEND=noninteractive
|
||||||
|
- export DRONE_BUILD_DIR=$PWD
|
||||||
|
- apt-get -y update
|
||||||
|
- apt-get -y install graphviz plantuml make python3 python3-pip git
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- make -j4 bundle
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user