Skip to content

Commit

Permalink
Fix CI infrastructure (.bat/.sh) to initialise Git submodules before …
Browse files Browse the repository at this point in the history
…build
  • Loading branch information
shymega authored and p12tic committed Jun 8, 2020
1 parent 938ad34 commit b16ad17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clean_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ set B_QT_FULLPATH=%B_QT_ROOT%\%B_QT_VER%\%B_QT_MSVC%
echo Bonjour: %BONJOUR_SDK_HOME%
echo Qt: %B_QT_FULLPATH%

git submodule update --init --recursive

rmdir /q /s build
mkdir build
if ERRORLEVEL 1 goto failed
Expand Down
4 changes: 4 additions & 0 deletions clean_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if [ "$(uname)" = "Darwin" ]; then
fi
# allow local customizations to build environment
[ -r ./build_env.sh ] && . ./build_env.sh

# Initialise Git submodules
git submodule update --init --recursive

B_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=$B_BUILD_TYPE $B_CMAKE_FLAGS"
rm -rf build
mkdir build || exit 1
Expand Down

0 comments on commit b16ad17

Please sign in to comment.