From 459f3ec923feee8e2f3bfdbc6772e6372ca57c2c Mon Sep 17 00:00:00 2001 From: Gulliver Date: Wed, 17 Nov 2021 23:39:37 +0100 Subject: [PATCH] added recursive git cloning +apt update --- .drone.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index ea29f2a..7e31537 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,13 @@ platform: 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 @@ -33,14 +40,15 @@ platform: 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 - 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