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 arch: amd64
steps: steps:
- name: submodules
image: ubuntu:focal
commands:
- git submodule update --init --recursive
- name: build-and-test - name: build-and-test
image: ubuntu:focal image: ubuntu:focal
@ -15,7 +20,6 @@ steps:
- apt-get -y update - apt-get -y update
- apt-get -y install graphviz plantuml make python3-pip git - apt-get -y install graphviz plantuml make python3-pip git
- pip install -r requirements.txt - pip install -r requirements.txt
- git submodule update --init --recursive
- make bundle - make bundle
trigger: trigger:
@ -34,14 +38,13 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: submodules
image: ubuntu:focal
commands:
- git submodule update --init --recursive
- name: build-and-test - name: build-and-test
image: ubuntu:focal 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: commands:
- export DEBIAN_FRONTEND=noninteractive - export DEBIAN_FRONTEND=noninteractive
@ -49,7 +52,6 @@ steps:
- apt-get -y update - apt-get -y update
- apt-get -y install graphviz plantuml make python3 python3-pip git - apt-get -y install graphviz plantuml make python3 python3-pip git
- pip install -r requirements.txt - pip install -r requirements.txt
- git submodule update --init --recursive
- make -j4 bundle - make -j4 bundle
trigger: trigger: