trying it again

This commit is contained in:
ThePhD 2019-03-24 19:34:54 -04:00
parent 5858231158
commit e411505b8d
No known key found for this signature in database
GPG Key ID: 1509DB1C0F702BFA
2 changed files with 4 additions and 9 deletions

View File

@ -128,10 +128,9 @@ init:
- set arch= x86 - set arch= x86
- set parallelism= - set parallelism=
- if "%PLATFORM%"=="x64" (set arch= Win64) - if "%PLATFORM%"=="x64" (set arch= Win64)
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (set CMAKE_GENERATOR=Visual Studio 15 2017%arch%&&set parallelism=/maxcpucount) - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (set CMAKE_GENERATOR=Visual Studio 15 2017%arch%)
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (set CMAKE_GENERATOR=Visual Studio 14 2015%arch%&&set parallelism=/maxcpucount) - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (set CMAKE_GENERATOR=Visual Studio 14 2015%arch%)
- if "%SOL2_BUILD_NINJA%"=="1"(set CMAKE_GENERATOR=Ninja&&set parallelism= ) - if "%SOL2_BUILD_NINJA%"=="1" (set CMAKE_GENERATOR=Ninja) else (set parallelism=/maxcpucount)
- set lua_build_type=ON
- set build_compiler=-DCMAKE_CXX_COMPILER=cl.exe -DCMAKE_C_COMPILER=cl.exe - set build_compiler=-DCMAKE_CXX_COMPILER=cl.exe -DCMAKE_C_COMPILER=cl.exe
- set vcvars_script="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 - set vcvars_script="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
- if "%PLATFORM%"=="x86" (vcvars_script="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86) - if "%PLATFORM%"=="x86" (vcvars_script="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86)
@ -149,7 +148,7 @@ before_build:
- md build-sol2 - md build-sol2
- cd build-sol2 - cd build-sol2
- if "%MINGW_VERSION%"=="" ( %vcvars_script% ) - if "%MINGW_VERSION%"=="" ( %vcvars_script% )
- cmake .. -G "%CMAKE_GENERATOR%" %build_compiler% -DCMAKE_BUILD_TYPE=Release "-DSOL2_LUA_VERSION=%SOL2_LUA_VERSION%" -DSOL2_PLATFORM=%PLATFORM% -DSOL2_CI=ON -DSOL2_BUILD_LUA=ON -DBUILD_LUA_AS_DLL=%lua_build_type% -DSOL2_TESTS=ON -DSOL2_EXAMPLES=ON -DSOL2_TESTS_EXAMPLES=ON - cmake .. -G "%CMAKE_GENERATOR%" %build_compiler% -DCMAKE_BUILD_TYPE=Release "-DSOL2_LUA_VERSION=%SOL2_LUA_VERSION%" -DSOL2_PLATFORM=%PLATFORM% -DSOL2_CI=ON -DSOL2_BUILD_LUA=ON -DBUILD_LUA_AS_DLL=ON -DSOL2_TESTS=ON -DSOL2_EXAMPLES=ON -DSOL2_TESTS_EXAMPLES=ON
build_script: build_script:
- cmake --build . --config Release -- %parallelism% - cmake --build . --config Release -- %parallelism%

View File

@ -101,11 +101,7 @@ echo -e "travis_fold:start:build_preparation\r"
fi fi
mkdir -p Debug Release mkdir -p Debug Release
echo -e "travis_fold:end:build_preparation\r"
# show the tool and compiler versions we're using
echo -e "travis_fold:start:build_preparation\r"
echo "=== Compiler and tool variables ===" echo "=== Compiler and tool variables ==="
ninja --version ninja --version
cmake --version cmake --version