forked from gnuradio/volk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
43 lines (36 loc) · 2.23 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
43
#version: {build}
clone_depth: 1
install:
- echo "Installing Boost libraries..."
- nuget install boost_system-vc120 -Version 1.61.0
- nuget install boost_filesystem-vc120 -Version 1.61.0
- nuget install boost_chrono-vc120 -Version 1.61.0
- nuget install boost_program_options-vc120 -Version 1.61.0
- nuget install boost_unit_test_framework-vc120 -Version 1.61.0
- echo "Installing Cheetah templates..."
- appveyor DownloadFile https://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.4.tar.gz
- 7z x Cheetah-2.4.4.tar.gz > nul
- 7z x -y Cheetah-2.4.4.tar > nul
- cd Cheetah-2.4.4
- c:\Python27\python.exe setup.py build
- c:\Python27\python.exe setup.py install
build_script:
- mkdir c:\projects\volk\build
- cd c:\projects\volk\build
# Without this directory in the %PATH%, compiler tests fail because of missing DLLs
- set PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
- cmake -G "Visual Studio 12 Win64" \
-DBoost_CHRONO_LIBRARY_RELEASE:FILEPATH=c:/projects/volk/boost_chrono-vc120.1.61.0.0/lib/native/address-model-64/lib/boost_chrono-vc120-mt-1_61.lib \
-DBoost_FILESYSTEM_LIBRARY_RELEASE:FILEPATH=c:/projects/volk/boost_filesystem-vc120.1.61.0.0/lib/native/address-model-64/lib/boost_filesystem-vc120-mt-1_61.lib \
-DBoost_PROGRAM_OPTIONS_LIBRARY_RELEASE:FILEPATH=c:/projects/volk/boost_program_options-vc120.1.61.0.0/lib/native/address-model-64/lib/boost_program_options-vc120-mt-1_61.lib \
-DBoost_SYSTEM_LIBRARY_RELEASE:FILEPATH=c:/projects/volk/boost_system-vc120.1.61.0.0/lib/native/address-model-64/lib/boost_system-vc120-mt-1_61.lib \
-DBoost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE:FILEPATH=c:/projects/volk/boost_unit_test_framework-vc120.1.61.0.0/lib/native/address-model-64/lib/boost_unit_test_framework-vc120-mt-1_61.lib \
-DBoost_INCLUDE_DIR:PATH=c:/projects/volk/boost.1.61.0.0/lib/native/include \
-DCMAKE_BUILD_TYPE:STRING=Release -DENABLE_ORC:BOOL=OFF -DENABLE_TESTING:BOOL=OFF \
..
- cmake --build . --config Release --target INSTALL
# Create the ZIP file:
- cd "c:\Program Files"
- 7z a "c:\libvolk-x64.zip" volk
# Push it!
- appveyor PushArtifact c:\libvolk-x64.zip