Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (30 sloc) 1.05 KB
# Automated Windows (MSVC++) testing using appveyor.com
# https://ci.appveyor.com/projects
version: 1.0.{build}
branches:
except:
- gh-pages
os: Visual Studio 2017
platform:
- x86
- x64
build_script:
- mkdir shared_linking
- cd shared_linking
- if "%platform%" == "x86" cmake -G "Visual Studio 15 2017" -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON -DBUILD_STATIC_LIBS=OFF ..
- if "%platform%" == "x64" cmake -G "Visual Studio 15 2017 Win64" -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON -DBUILD_STATIC_LIBS=OFF ..
- cmake --build . --config Release
- cd ..
- mkdir static_linking
- cd static_linking
- if "%platform%" == "x86" cmake -G "Visual Studio 15 2017" -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON ..
- if "%platform%" == "x64" cmake -G "Visual Studio 15 2017 Win64" -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON ..
- cmake --build . --config Release --target install
- cd ..
test_script:
- cd shared_linking
- copy Release\primesieve.dll test\Release
- ctest -C Release
- cd ..\static_linking
- ctest -C Release
- Release\primesieve.exe --cpu-info
You can’t perform that action at this time.