This repository has been archived on 2023-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
handbuch-gen/.drone.yml
Gulliver 212473fe0a
Some checks failed
continuous-integration/drone/pr Build is failing
+apt update
2021-12-04 18:01:45 +01:00

68 lines
1.1 KiB
YAML

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