-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
42 lines (39 loc) · 1.11 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
38
39
40
41
42
version: 0.1.0.{build}
skip_tags: true
image:
- Visual Studio 2017
- Visual Studio 2015
platform: x64
configuration: Release
clone_folder: c:\projects\litesimd
environment:
matrix:
- arch: Win64
matrix:
fast_finish: true
# skip unsupported combinations
init:
- set arch=
- if "%arch%"=="Win64" ( set arch= Win64)
- echo %arch%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015" )
- echo %generator%
before_build:
- cmd: |-
mkdir build
cd build
cmake --version
cmake -G %generator% -DCMAKE_CXX_FLAGS="/EHsc /D BOOST_ALL_DYN_LINK /D WIN32_LEAN_AND_MEAN" -DBOOST_ROOT=C:\Libraries\boost_1_65_1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR_PLATFORM=x64 ..
build:
project: c:\projects\litesimd\build\litesimd.sln
verbosity: normal
parallel: true
only_commits:
files:
- CMakeLists.txt
- appveyor.yml
- include/
- samples/
- test/