Add Visual C x86 autobuild.

This commit is contained in:
David Brown 2016-12-22 14:35:11 +00:00
parent 572587ec56
commit da14bc6398
3 changed files with 34 additions and 14 deletions

View file

@ -68,9 +68,21 @@ goto :eof
:full
call :clean || exit /b
echo.
echo.--- Compiler build started ---
echo.
call :compiler || exit /b
echo.
echo.--- Compiler build successfull ---
echo.
call :browsercmd || exit /b
echo.
echo.--- Library build started ---
echo.
call :library || exit /b
echo.
echo.--- Library build successfull ---
echo.
call :makeinstalldir || exit /b
goto :eof
@ -148,6 +160,7 @@ goto :eof
:clean
echo.--- Cleaning branch ... %OS% %COMPILER% %DATAMODEL% ---
rd /s /q %BUILDDIR% 2>nul
del /q %OBECOMP% 2>nul
goto :eof

View file

@ -22,4 +22,11 @@ $sudo git pull # Update the local repository
$sudo git checkout -f $4 # Switch to requested branch
export CC=$3
$sudo make full
if test "$3" = "msc-x86"; then
cmd /c 'C:\Program Files (x86)\Microsoft Visual C++ Build Tools\vcbuildtools.bat' x86 '&&' cd 'c:\cygwin\home\dave\msc-x86\voc' '&&' make full
else; if test "$3" = "msc-x64"; then
cmd /c 'C:\Program Files (x86)\Microsoft Visual C++ Build Tools\vcbuildtools.bat' x64 '&&' cd 'c:\cygwin\home\dave\msc-x64\voc' '&&' make full
else
$sudo make full
fi

View file

@ -19,8 +19,8 @@ my %machines = (
"lub32" => ['22', 'dave@vim-lub32', 'sh build-oberon.sh sudo oberon/voc gcc ' . $branch],
"fed64" => ['22', 'dave@vim-fed64', 'sh build-oberon.sh sudo oberon/voc gcc ' . $branch],
"osu64" => ['22', 'dave@vim-osu64', 'sh build-oberon.sh sudo oberon/voc gcc ' . $branch],
"ob32" => ['22', 'root@nas-ob32', 'sh build-oberon.sh n vishap/voc gcc ' . $branch],
"obs32" => ['22', 'dave@vim-obs32', 'sh build-oberon.sh n vishap/voc gcc ' . $branch],
"win32" => ['22', 'dave@vim-win64', 'sh build-oberon.sh n msc-x86/voc msc-x86' . $branch],
"ce64" => ['5922', 'obe@www', 'sh build-oberon.sh sudo vishap/voc gcc ' . $branch],
"fb64" => ['22', 'root@oberon', 'sh build-oberon.sh n vishap/voc gcc ' . $branch]
);