forked from gulliver/rtfm
Compare commits
3 Commits
459f3ec923
...
c4767bc17f
Author | SHA1 | Date | |
---|---|---|---|
|
c4767bc17f | ||
|
1d83dd2a1c | ||
|
0a3d80f03a |
67
.drone.yml
Normal file
67
.drone.yml
Normal file
@ -0,0 +1,67 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: amd64-pull
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: ubuntu:focal
|
||||
commands:
|
||||
- apt-get -y update
|
||||
- apt-get -y install git
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- 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: submodules
|
||||
image: ubuntu:focal
|
||||
commands:
|
||||
- apt-get -y update
|
||||
- apt-get -y install git
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: build-and-test
|
||||
image: ubuntu:focal
|
||||
|
||||
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
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit c4ba3f2e8cabc1b032563eecc40bf2190aea6eda
|
||||
Subproject commit 02d94b733507cc5872c864a951a0261e09a94467
|
Reference in New Issue
Block a user