Skip to content

Commit

Permalink
CI/CD: get submodule before build
Browse files Browse the repository at this point in the history
  • Loading branch information
r-devulap committed Aug 24, 2021
1 parent 35c1dfe commit 1cbf913
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1cbf913

Please sign in to comment.