added recursive git cloning

+apt update
This commit is contained in:
Gulliver 2021-11-17 23:39:37 +01:00
parent 1d83dd2a1c
commit c4767bc17f
1 changed files with 14 additions and 6 deletions

View File

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