From 9f75f3b21ad710b5cb4e40c75625703f6a5fe362 Mon Sep 17 00:00:00 2001 From: Gulliver Date: Thu, 18 Nov 2021 00:08:34 +0100 Subject: [PATCH] separate step for submodules --- .drone.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1476406..45b694e 100644 --- a/.drone.yml +++ b/.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: