appveyor: let build system fetch submodules

This commit is contained in:
Matthias Grob
2019-04-07 15:55:10 +02:00
parent cbb5a25154
commit d2a23c8512

View File

@@ -43,8 +43,6 @@ build_script:
- call C:\PX4\toolchain\scripts\setup-environment.bat x - call C:\PX4\toolchain\scripts\setup-environment.bat x
# safe the repopath for switching to it in cygwin bash # safe the repopath for switching to it in cygwin bash
- for /f %%i in ('cygpath -u %%CD%%') do set repopath=%%i - for /f %%i in ('cygpath -u %%CD%%') do set repopath=%%i
# fetch all submodules in parallel with limited depth
#- call bash --login -c "cd $repopath && git submodule -q update --init --recursive --jobs=10 --depth 200"
# build the make target # build the make target
- call bash --login -c "cd $repopath && make $PX4_CONFIG" - call bash --login -c "cd $repopath && make $PX4_CONFIG"