-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
37 lines (30 loc) · 1.27 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Automated Windows (MSVC++) testing using appveyor.com
# https://ci.appveyor.com/projects
version: 1.0.{build}
branches:
except:
- gh-pages
os: Visual Studio 2017
environment:
matrix:
- platform: x86
- platform: x64
clone_script:
- cmd: >-
git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
&& cd %APPVEYOR_BUILD_FOLDER%
&& git checkout -qf %APPVEYOR_REPO_COMMIT%
&& git submodule update --init --recursive
build_script:
- git clone -q https://github.com/RoaringBitmap/CRoaring.git C:\projects\CRoaring
- cd C:\projects\CRoaring
- set PATH=%PATH%;C:\projects\CRoaring\include;C:\projects\CRoaring\src\Release\;C:\projects\CRoaring\;C:\projects\CRoaring\src\Debug\
- if "%platform%" == "x86" cmake -G "Visual Studio 15 2017" .
- if "%platform%" == "x64" cmake -G "Visual Studio 15 2017 Win64" .
- cmake --build . --config Release
- cd %APPVEYOR_BUILD_FOLDER%
- if "%platform%" == "x86" cmake -G "Visual Studio 15 2017" -DSTORM_ENABLE_SIMD_SSE4_2="ON" .
- if "%platform%" == "x64" cmake -G "Visual Studio 15 2017 Win64" -DSTORM_ENABLE_SIMD_SSE4_2="ON" .
- cmake --build . --config Release
test_script:
- ps: C:\projects\stormbitmaps\Release\benchmark.exe 4096 100