rainmeter-python/appveyor.yml

52 lines
1.3 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"
ARCH: "x86"
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"
ARCH: "x64"
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"
ARCH: "x86"
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"
ARCH: "x64"
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%"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%
2017-02-09 17:12:06 +00:00
2017-02-09 16:48:03 +00:00
set "INCLUDE=%PYTHON%\include;%INCLUDE%"
set "LIB=%PYTHON%\libs;%LIB%"
2017-02-09 16:32:57 +00:00
2017-02-09 16:49:36 +00:00
echo %INCLUDE%
echo %LIB%
2017-02-09 16:49:36 +00:00
msbuild RainmeterPython.vcxproj /p:configuration=release /p:platform=%BUILD_PLATFORM% /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