Files
EASTL/scripts/ci-test.cmd
DragoonX6 edb79f9177 MinGW-w64 support (#51)
Add appveyor scripts for mingw-w64 gcc and clang (MSYS2).
Minimize whitespace changes.
Update CMakeLists to insert appropriate -std=c++** flags.
Ignore IDE generated files *.suo (VS) and *.user (VS and Qt Creator)
Use EA_UNUSED instead of a cast to void.
Check for apple clang in CMakeLists, since apple doesn't follow the same
versioning as LLVM.
Modularize CMake files.
Fix isnan selection in eahave.h
Merge appveyor scripts and improve the corresponding build scripts.
Move CMake folder to scripts folder to comply with EA internal standards.
Update corresponding cmake files.
2016-09-06 10:44:01 -07:00

55 lines
1.1 KiB
Batchfile

rem Needed to check if a variable contains a string
@setlocal enableextensions enabledelayedexpansion
rem Check if the platform variable contains MinGW
if not [x%PLATFORM:MinGW=%]==[x%PLATFORM%] (
goto :test-mingw
) else (
goto :test-msvc
)
:test-msvc
cd build
cd test
ctest -C Release -V
cd ..
cd benchmark
ctest -C Release -V
cd ..
cd ..
goto :end
:test-mingw
rem Test gcc and clang.
set "OLDPATH=%PATH%"
if not [x%PLATFORM:x86=%]==[x%PLATFORM%] (
set bin_folder=C:/msys64/mingw32/bin
set "PATH=C:\msys64\mingw32\bin;%OLDPATH%"
) else (
set bin_folder=C:/msys64/mingw64/bin
set "PATH=C:\msys64\mingw64\bin;%OLDPATH%"
)
if not [x%PLATFORM:x64=%]==[x%PLATFORM%] (
set configurations=gcc-Debug gcc-Release clang-Debug clang-Release
) else (
rem Don't test clang release builds on x86 as they haven't been build.
set configurations=gcc-Debug gcc-Release clang-Debug
)
for %%c in (%configurations%) do (
cd build-%PLATFORM%-%%~c
cd test
ctest -V
cd ..
cd benchmark
ctest -V
cd ..
cd ..
)
:end
endlocal