diff options
-rw-r--r-- | .appveyor.yml | 11 | ||||
-rw-r--r-- | .travis.yml | 4 |
2 files changed, 7 insertions, 8 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 381e544..2c32279 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index 37b7749..07d64da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 |