Skip to content
Permalink
Browse files

[IMPROVEMENT] Reduce Test Build Time With Windows (#332)

* improve logging for mod_auth.controllers

* omit .git directory when duplicating git folder in windows

- It will reduce the amount of time it takes in the building step
- The .git directory is omitted when copying by passing in the path using the \XD parameter
- \MIR is used to make sure that only the files present in A are there in B; it creates an exact mirror
  • Loading branch information...
thealphadollar authored and canihavesomecoffee committed Sep 3, 2019
1 parent 58c3091 commit 91dd4c4e03ddb0b48f52279ad6604365e3418d57
Showing with 2 additions and 2 deletions.
  1. +2 −2 install/ci-vm/ci-windows/ci/runCI.bat
@@ -28,10 +28,10 @@ SET logFile="%reportFolder%/log.html"
echo Copy files over to local disk
call :postStatus "preparation" "Copy testsuite to local folder"
rem robocopy returns a non-zero exit code even on success (https://ss64.com/nt/robocopy-exit.html), so we cannot use executeCommand
call robocopy %suiteSrcDir% %suiteDstDir% /e >> "%logFile%"
call robocopy %suiteSrcDir% %suiteDstDir% /e /MIR >> "%logFile%"

call :postStatus "preparation" "Copy code to local folder"
call robocopy %srcDir% %dstDir% /e >> "%logFile%"
call robocopy %srcDir% %dstDir% /e /MIR /XD %srcDir%\.git >> "%logFile%"
call :executeCommand cd %dstDir%

echo Compile CCX using cmake

0 comments on commit 91dd4c4

Please sign in to comment.
You can’t perform that action at this time.