From 1cbf913d7dda9441118c0b51f4020048334cd451 Mon Sep 17 00:00:00 2001 From: Raghuveer Devulapalli Date: Wed, 18 Aug 2021 21:06:07 -0700 Subject: [PATCH] CI/CD: get submodule before build --- azure-pipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 714f62912a23..99ea407be6df 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,6 +23,9 @@ stages: pool: vmImage: 'ubuntu-20.04' steps: + - script: | + git submodule update --init + displayName: 'Fetch submodules' - script: | if ! `gcc 2>/dev/null`; then sudo apt install gcc @@ -71,6 +74,9 @@ stages: pool: vmImage: 'ubuntu-20.04' steps: + - script: | + git submodule update --init + displayName: 'Fetch submodules' - script: | docker run -v $(pwd):/numpy -e CFLAGS="-msse2 -std=c99 -UNDEBUG" \ -e F77=gfortran-5 -e F90=gfortran-5 quay.io/pypa/manylinux2014_i686 \ @@ -258,6 +264,9 @@ stages: pool: vmImage: 'ubuntu-20.04' steps: + - script: | + git submodule update --init + displayName: 'Fetch submodules' - script: | # create and activate conda environment conda env create -f environment.yml