Tools: fixed submodule update order for appveyor

This commit is contained in:
Andrew Tridgell 2018-12-27 09:28:28 +11:00
parent d6715290ff
commit 323fd121e4
1 changed files with 8 additions and 5 deletions

View File

@ -8,13 +8,16 @@ set -x
cd /cygdrive/c/work
# build for 32 bit target
CXX=i686-pc-cygwin-g++.exe CC=i686-pc-cygwin-gcc ./waf configure --board sitl
(
date
git submodule update --init --recursive -f
/usr/bin/python waf configure --board sitl
# build for 32 bit target
export CXX=i686-pc-cygwin-g++.exe
export CC=i686-pc-cygwin-gcc
./waf configure --board sitl
/usr/bin/python waf -j4 copter plane rover heli sub
# map to the names that MissionPlanner expects
@ -29,6 +32,6 @@ CXX=i686-pc-cygwin-g++.exe CC=i686-pc-cygwin-gcc ./waf configure --board sitl
cd /cygdrive/c/work/sitl/
git log -1 > git.txt
ls
) > /cygdrive/c/work/sitl/build.txt 2>&1
) | tee /cygdrive/c/work/sitl/build.txt 2>&1