fix CI tests

This commit is contained in:
psychocrypt
2017-09-30 23:46:08 +02:00
parent c30c258b91
commit 1d1eff2d8f
2 changed files with 7 additions and 8 deletions
+5 -6
View File
@@ -5,7 +5,7 @@ image: Visual Studio 2017
platform: x64
# clone directory
clone_folder: c:\xmr-stak-cpu
clone_folder: c:\xmr-stak
install:
- mkdir c:\xmr-stak-dep
@@ -14,15 +14,14 @@ install:
build_script:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"
- cd c:\xmr-stak-cpu
- cd c:\xmr-stak
- mkdir build
- cd build
- set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc;C:\xmr-stak-dep\libmicrohttpd;C:\xmr-stak-dep\openssl;
- cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 ..
- msbuild xmr-stak-cpu.sln /p:Configuration=Release
- cmake -G "Visual Studio 15 2017 Win64" -T v140,host=x64 -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF ..
- cmake --build . --config Release --target install
test_script:
- cd c:\xmr-stak-cpu\build\bin\Release
- dir
- copy ..\..\..\config.txt .
# - xmr-stak-cpu.exe
# - xmr-stak.exe
+2 -2
View File
@@ -67,9 +67,9 @@ before_install:
script:
- if [ $TRAVIS_OS_NAME = osx ]; then
brew install hwloc;
cmake -DMICROHTTPD_ENABLE=OFF -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .;
cmake -DMICROHTTPD_ENABLE=OFF -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF .;
else
cmake -D CMAKE_C_COMPILER=${CMAKE_C_COMPILER} -D CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} .;
cmake -D CMAKE_C_COMPILER=${CMAKE_C_COMPILER} -D CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF .;
fi;
- make VERBOSE=1
- ./bin/xmr-stak-cpu -c ./config.txt