Commit fb49be21 by plusvic

Test precompiled OpenSSL library

parent 6aa49df3
...@@ -13,69 +13,62 @@ environment: ...@@ -13,69 +13,62 @@ environment:
# Python 2.6.6 is the latest Python 2.6 with a Windows installer # Python 2.6.6 is the latest Python 2.6 with a Windows installer
# See: https://github.com/ogrisel/python-appveyor-demo/issues/10 # See: https://github.com/ogrisel/python-appveyor-demo/issues/10
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - PYTHON: "C:\\Python266"
PYTHON: "C:\\Python266"
PYTHON_VERSION: "2.6.6" PYTHON_VERSION: "2.6.6"
PYTHON_ARCH: "32" PYTHON_ARCH: "32"
OPENSSL_LIB: "openssl-1.0.2k-vs2008"
VS: "Visual Studio 9 2008" VS: "Visual Studio 9 2008"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - PYTHON: "C:\\Python266-x64"
PYTHON: "C:\\Python266-x64"
PYTHON_VERSION: "2.6.6" PYTHON_VERSION: "2.6.6"
PYTHON_ARCH: "64" PYTHON_ARCH: "64"
OPENSSL_LIB: "openssl-1.0.2k-vs2008"
VS: "Visual Studio 9 2008 Win64" VS: "Visual Studio 9 2008 Win64"
# Pre-installed Python versions, which Appveyor may upgrade to # Pre-installed Python versions, which Appveyor may upgrade to
# a later point release. # a later point release.
# See: http://www.appveyor.com/docs/installed-software#python # See: http://www.appveyor.com/docs/installed-software#python
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 # - PYTHON: "C:\\Python27"
PYTHON: "C:\\Python27" # PYTHON_VERSION: "2.7.x" # currently 2.7.13
PYTHON_VERSION: "2.7.x" # currently 2.7.13 # PYTHON_ARCH: "32"
PYTHON_ARCH: "32" # OPENSSL_LIB: "openssl-1.0.2k-vs2008"
VS: "Visual Studio 9 2008" # VS: "Visual Studio 9 2008"
#
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 # - PYTHON: "C:\\Python27-x64"
PYTHON: "C:\\Python27-x64" # PYTHON_VERSION: "2.7.x" # currently 2.7.13
PYTHON_VERSION: "2.7.x" # currently 2.7.13 # PYTHON_ARCH: "64"
PYTHON_ARCH: "64" # VS: "Visual Studio 9 2008 Win64"
VS: "Visual Studio 9 2008 Win64" #
# - PYTHON: "C:\\Python33"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 # PYTHON_VERSION: "3.3.x" # currently 3.3.5
PYTHON: "C:\\Python33" # PYTHON_ARCH: "32"
PYTHON_VERSION: "3.3.x" # currently 3.3.5 # VS: "Visual Studio 10 2010"
PYTHON_ARCH: "32" #
VS: "Visual Studio 10 2010" # - PYTHON: "C:\\Python33-x64"
# PYTHON_VERSION: "3.3.x" # currently 3.3.5
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 # PYTHON_ARCH: "64"
PYTHON: "C:\\Python33-x64" # VS: "Visual Studio 10 2010 Win64"
PYTHON_VERSION: "3.3.x" # currently 3.3.5 #
PYTHON_ARCH: "64" # - PYTHON: "C:\\Python34"
VS: "Visual Studio 10 2010 Win64" # PYTHON_VERSION: "3.4.x" # currently 3.4.4
# PYTHON_ARCH: "32"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 # VS: "Visual Studio 10 2010"
PYTHON: "C:\\Python34" #
PYTHON_VERSION: "3.4.x" # currently 3.4.4 # - PYTHON: "C:\\Python34-x64"
PYTHON_ARCH: "32" # PYTHON_VERSION: "3.4.x" # currently 3.4.4
VS: "Visual Studio 10 2010" # PYTHON_ARCH: "64"
# VS: "Visual Studio 10 2010 Win64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 #
PYTHON: "C:\\Python34-x64" # - PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.4.x" # currently 3.4.4 # PYTHON_VERSION: "3.5.x" # currently 3.5.3
PYTHON_ARCH: "64" # PYTHON_ARCH: "32"
VS: "Visual Studio 10 2010 Win64" # VS: "Visual Studio 14 2015"
#
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 # - PYTHON: "C:\\Python35-x64"
PYTHON: "C:\\Python35" # PYTHON_VERSION: "3.5.x" # currently 3.5.3
PYTHON_VERSION: "3.5.x" # currently 3.5.3 # PYTHON_ARCH: "64"
PYTHON_ARCH: "32" # VS: "Visual Studio 14 2015 Win64"
VS: "Visual Studio 14 2015"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x" # currently 3.5.3
PYTHON_ARCH: "64"
VS: "Visual Studio 14 2015 Win64"
install: install:
# If there is a newer build queued for the same PR, cancel this one. # If there is a newer build queued for the same PR, cancel this one.
...@@ -113,6 +106,11 @@ install: ...@@ -113,6 +106,11 @@ install:
# target Python version and architecture # target Python version and architecture
- "%CMD_IN_ENV% pip install wheel" - "%CMD_IN_ENV% pip install wheel"
- cd ..
- ps: Invoke-WebRequest "https://www.npcglib.org/~stathis/downloads/$env:OPENSSL_LIB.7z" -OutFile "openssl.7z"
- 7z x openssl.7z
- cd yara-python
# This is workaround for solving an issue caused by CMake not finding an # This is workaround for solving an issue caused by CMake not finding an
# appropriate compilet for Visual Studio 9 2008 Win64. This workaround was # appropriate compilet for Visual Studio 9 2008 Win64. This workaround was
# copied from: https://github.com/conda/conda-build/blob/master/appveyor.yml # copied from: https://github.com/conda/conda-build/blob/master/appveyor.yml
...@@ -137,8 +135,8 @@ clone_script: ...@@ -137,8 +135,8 @@ clone_script:
build_script: build_script:
# Build the compiled extension # Build the compiled extension
- "%CMD_IN_ENV% python setup.py build_ext --enable-cuckoo - "%CMD_IN_ENV% python setup.py build_ext --enable-cuckoo
-L../jansson-%JANSSON_VERSION%/build/lib/Release;c:/OpenSSL-Win%PYTHON_ARCH%/lib/VC/static -L../jansson-%JANSSON_VERSION%/build/lib/Release;../%OPENSSL_LIB%/lib
-I../jansson-%JANSSON_VERSION%/build/include;c:/OpenSSL-Win%PYTHON_ARCH%/include -I../jansson-%JANSSON_VERSION%/build/include;../%OPENSSL_LIB%/include
-llibeay32MD" -llibeay32MD"
after_build: after_build:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment