separate step for submodules
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Gulliver 2021-11-18 00:08:34 +01:00
parent 030285b17e
commit 9f75f3b21a

View File

@ -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: