Compare commits

...

8 Commits

Author SHA1 Message Date
Gulliver
212473fe0a +apt update
Some checks failed
continuous-integration/drone/pr Build is failing
2021-12-04 18:01:45 +01:00
Gulliver
55577246e7 git sinstall 2021-12-04 18:01:45 +01:00
Gulliver
12b7f299f9 separate step for submodules 2021-12-04 18:01:45 +01:00
Gulliver
203afb1c4c added recursive git cloning 2021-12-04 18:01:45 +01:00
Gulliver
5ac657ff0e cd .. removed 2021-12-04 18:01:45 +01:00
Gulliver
a48bf444e7 added export for noninteractive backend on apt upgrade 2021-12-04 18:01:45 +01:00
Gulliver
1e8da5593a updated installed packages and pip packages 2021-12-04 18:01:45 +01:00
Gulliver
21ddfdbef3 copied drone yaml 2021-12-04 18:01:45 +01:00

67
.drone.yml Normal file
View 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