Build tests under AppVeyor too
This commit is contained in:
@@ -3,12 +3,17 @@ goto %TOOLSET%
|
|||||||
:msbuild
|
:msbuild
|
||||||
cd build\msw
|
cd build\msw
|
||||||
msbuild /m:2 /v:n /p:Platform=%ARCH% /p:Configuration="%CONFIGURATION%" wx_vc12.sln
|
msbuild /m:2 /v:n /p:Platform=%ARCH% /p:Configuration="%CONFIGURATION%" wx_vc12.sln
|
||||||
|
cd ..\..\tests
|
||||||
|
msbuild /m:2 /v:n /p:Platform=%ARCH% /p:Configuration="%CONFIGURATION%" test_vc12.sln
|
||||||
|
msbuild /m:2 /v:n /p:Platform=%ARCH% /p:Configuration="%CONFIGURATION%" test_gui_vc12.sln
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:nmake
|
:nmake
|
||||||
cd build\msw
|
cd build\msw
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio %VS%\VC\vcvarsall.bat" %ARCH%
|
call "C:\Program Files (x86)\Microsoft Visual Studio %VS%\VC\vcvarsall.bat" %ARCH%
|
||||||
nmake -f makefile.vc BUILD=%BUILD%
|
nmake -f makefile.vc BUILD=%BUILD%
|
||||||
|
cd ..\..\tests
|
||||||
|
nmake -f makefile.vc BUILD=%BUILD%
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:mingw
|
:mingw
|
||||||
@@ -24,6 +29,8 @@ echo --- Starting the build
|
|||||||
echo.
|
echo.
|
||||||
mingw32-make -f makefile.gcc setup_h BUILD=debug SHARED=0
|
mingw32-make -f makefile.gcc setup_h BUILD=debug SHARED=0
|
||||||
mingw32-make -j3 -f makefile.gcc BUILD=debug SHARED=0
|
mingw32-make -j3 -f makefile.gcc BUILD=debug SHARED=0
|
||||||
|
cd ..\..\tests
|
||||||
|
mingw32-make -j3 -f makefile.gcc BUILD=debug SHARED=0
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:msys2
|
:msys2
|
||||||
@@ -32,7 +39,7 @@ set CHERE_INVOKING=yes
|
|||||||
:: Workaround for "configure: Bad file descriptor"
|
:: Workaround for "configure: Bad file descriptor"
|
||||||
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
|
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
|
||||||
bash -lc "g++ --version"
|
bash -lc "g++ --version"
|
||||||
bash -lc "CXXFLAGS=-Wno-deprecated-declarations ./configure --disable-optimise && make -j3"
|
bash -lc "CXXFLAGS=-Wno-deprecated-declarations ./configure --disable-optimise && make -j3 && make -j3 -C tests"
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:cygwin
|
:cygwin
|
||||||
@@ -42,5 +49,5 @@ set CHERE_INVOKING=yes
|
|||||||
:: Workaround for "configure: Bad file descriptor"
|
:: Workaround for "configure: Bad file descriptor"
|
||||||
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
|
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
|
||||||
bash -lc "g++ --version"
|
bash -lc "g++ --version"
|
||||||
bash -lc "LDFLAGS=-L/usr/lib/w32api ./configure --disable-optimise --disable-shared && make -j3"
|
bash -lc "LDFLAGS=-L/usr/lib/w32api ./configure --disable-optimise --disable-shared && make -j3 && make -j3 -C tests"
|
||||||
goto :eof
|
goto :eof
|
||||||
|
Reference in New Issue
Block a user