Skip to content

Commit

Permalink
Windows CI: Don't rebuild cached ogre-next-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Feb 29, 2024
1 parent 18ab4e5 commit 2983b02
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Scripts/BuildScripts/build_ci_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,17 @@ IF NOT EXIST %BUILD_FOLDER%\..\ogre-next-deps (
mkdir %BUILD_FOLDER%\..\ogre-next-deps
echo --- Cloning ogre-next-deps ---
git clone --recurse-submodules --shallow-submodules https://github.com/OGRECave/ogre-next-deps %BUILD_FOLDER%\..\ogre-next-deps

mkdir %BUILD_FOLDER%\..\ogre-next-deps\build
cd %BUILD_FOLDER%\..\ogre-next-deps\build
echo --- Building ogre-next-deps ---
%CMAKE_BIN% -G %GENERATOR% -A %PLATFORM% %BUILD_FOLDER%\..\ogre-next-deps
%CMAKE_BIN% --build . --config %CONFIGURATION%
%CMAKE_BIN% --build . --target install --config %CONFIGURATION%
) ELSE (
echo --- ogre-next-deps repo detected. Cloning skipped ---
echo --- ogre-next-deps repo detected. Building skipped ---
)
mkdir %BUILD_FOLDER%\..\ogre-next-deps\build
cd %BUILD_FOLDER%\..\ogre-next-deps\build
echo --- Building ogre-next-deps ---
%CMAKE_BIN% -G %GENERATOR% -A %PLATFORM% %BUILD_FOLDER%\..\ogre-next-deps
%CMAKE_BIN% --build . --config %CONFIGURATION%
%CMAKE_BIN% --build . --target install --config %CONFIGURATION%

cd %BUILD_FOLDER%
mkdir %BUILD_FOLDER%\build
Expand Down

0 comments on commit 2983b02

Please sign in to comment.