forked from gulliver/rtfm
separate step for submodules
This commit is contained in:
parent
203afb1c4c
commit
12b7f299f9
18
.drone.yml
18
.drone.yml
@ -7,6 +7,11 @@ platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: ubuntu:focal
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: build-and-test
|
||||
image: ubuntu:focal
|
||||
|
||||
@ -15,7 +20,6 @@ steps:
|
||||
- apt-get -y update
|
||||
- apt-get -y install graphviz plantuml make python3-pip git
|
||||
- pip install -r requirements.txt
|
||||
- git submodule update --init --recursive
|
||||
- make bundle
|
||||
|
||||
trigger:
|
||||
@ -34,14 +38,13 @@ platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: ubuntu:focal
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- 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
|
||||
@ -49,7 +52,6 @@ steps:
|
||||
- apt-get -y update
|
||||
- apt-get -y install graphviz plantuml make python3 python3-pip git
|
||||
- pip install -r requirements.txt
|
||||
- git submodule update --init --recursive
|
||||
- make -j4 bundle
|
||||
|
||||
trigger:
|
||||
|
Reference in New Issue
Block a user