rainmeter-python/appveyor.yml

44 lines
1.2 KiB
YAML
Raw Normal View History

2017-02-09 16:32:57 +00:00
environment:
matrix:
- PYTHON: "C:\\Python34"
BUILD_ENV: "Visual Studio 14"
BUILD_DIR: "build"
2017-02-09 16:48:03 +00:00
BUILD_PLATFORM: "win32"
2017-02-09 16:32:57 +00:00
PYTHON_VERSION: "3.4"
- PYTHON: "C:\\Python34-x64"
BUILD_ENV: "Visual Studio 14 Win64"
BUILD_DIR: "build64"
2017-02-09 16:48:03 +00:00
BUILD_PLATFORM: "x64"
2017-02-09 16:32:57 +00:00
PYTHON_VERSION: "3.4"
- PYTHON: "C:\\Python35"
BUILD_ENV: "Visual Studio 14"
BUILD_DIR: "build"
2017-02-09 16:48:03 +00:00
BUILD_PLATFORM: "win32"
2017-02-09 16:32:57 +00:00
PYTHON_VERSION: "3.5"
- PYTHON: "C:\\Python35-x64"
BUILD_ENV: "Visual Studio 14 Win64"
BUILD_DIR: "build64"
2017-02-09 16:48:03 +00:00
BUILD_PLATFORM: "x64"
2017-02-09 16:32:57 +00:00
PYTHON_VERSION: "3.5"
install:
- cmd: >-
git submodule update --init --recursive
build_script:
- cmd: |-
if not exist "%APPVEYOR_BUILD_FOLDER%\%BUILD_DIR%" mkdir "%APPVEYOR_BUILD_FOLDER%\%BUILD_DIR%"
2017-02-09 16:48:03 +00:00
set "INCLUDE=%PYTHON%\include;%INCLUDE%"
2017-02-09 16:32:57 +00:00
2017-02-09 16:49:36 +00:00
echo %INCLUDE%
msbuild RainmeterPython.vcxproj /p:configuration=release /p:platform=%BUILD_PLATFORM% /p:AdditionalLibPaths="%PYTHON%\libs" /p:useenv=true /v:d
2017-02-09 16:48:03 +00:00
2017-02-09 16:36:03 +00:00
mkdir release-dlls
xcopy "%APPVEYOR_BUILD_FOLDER%\opencv\%BUILD_DIR%\bin\Release\*.dll" .\release-dlls\ /I
2017-02-09 16:32:57 +00:00
artifacts:
2017-02-09 16:36:03 +00:00
- path: release-dlls
2017-02-09 16:32:57 +00:00
name: dlls