mirror of
https://github.com/yaml/pyyaml.git
synced 2025-10-19 11:03:18 +00:00
4.2b4 appveyor updates
This commit is contained in:
parent
fad74eca23
commit
0191e9de8f
1 changed files with 30 additions and 23 deletions
53
appveyor.yml
53
appveyor.yml
|
@ -1,29 +1,31 @@
|
|||
version: 4.1.{build}
|
||||
version: 4.2b4.{build}
|
||||
|
||||
image:
|
||||
- Visual Studio 2015
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- platform: x86
|
||||
ARCH: x86
|
||||
GENERATOR: "Visual Studio 14 2015"
|
||||
PYTHON_VER: Python27
|
||||
- platform: x86
|
||||
ARCH: x86
|
||||
GENERATOR: "Visual Studio 14 2015"
|
||||
PYTHON_VER: Python34
|
||||
- platform: x64
|
||||
ARCH: amd64
|
||||
GENERATOR: "Visual Studio 14 2015 Win64"
|
||||
PYTHON_VER: Python27-x64
|
||||
- platform: x64
|
||||
ARCH: amd64
|
||||
GENERATOR: "Visual Studio 14 2015 Win64"
|
||||
PYTHON_VER: Python34-x64
|
||||
- platform: x86
|
||||
ARCH: x86
|
||||
GENERATOR: "Visual Studio 14 2015"
|
||||
PYTHON_VER: Python27
|
||||
- platform: x86
|
||||
ARCH: x86
|
||||
GENERATOR: "Visual Studio 14 2015"
|
||||
PYTHON_VER: Python34
|
||||
- platform: x64
|
||||
ARCH: amd64
|
||||
GENERATOR: "Visual Studio 14 2015 Win64"
|
||||
PYTHON_VER: Python27-x64
|
||||
- platform: x64
|
||||
ARCH: amd64
|
||||
GENERATOR: "Visual Studio 14 2015 Win64"
|
||||
PYTHON_VER: Python34-x64
|
||||
|
||||
before_build:
|
||||
- git clone https://github.com/yaml/libyaml.git
|
||||
- git clone
|
||||
--branch=0.2.2-pre1
|
||||
https://github.com/yaml/libyaml.git
|
||||
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%
|
||||
- set PATH=C:\%PYTHON_VER%\Scripts;%PATH%
|
||||
- C:\%PYTHON_VER%\python.exe -m pip install cython wheel
|
||||
|
@ -34,7 +36,12 @@ build_script:
|
|||
- cmake.exe -G"%GENERATOR%" -DBUILD_SHARED_LIBS=ON ..\libyaml
|
||||
- cmake.exe --build . --config Release --clean-first
|
||||
- cd ..
|
||||
- C:\%PYTHON_VER%\python.exe setup.py --with-libyaml build_ext -I C:\projects\pyyaml\libyaml\include -L C:\projects\pyyaml\%PYTHON_VER%\;C:\projects\pyyaml\%PYTHON_VER%\Release build bdist_wininst bdist_wheel
|
||||
- C:\%PYTHON_VER%\python.exe setup.py
|
||||
--with-libyaml
|
||||
build_ext
|
||||
-I C:\projects\pyyaml\libyaml\include
|
||||
-L C:\projects\pyyaml\%PYTHON_VER%\;C:\projects\pyyaml\%PYTHON_VER%\Release
|
||||
build bdist_wininst bdist_wheel
|
||||
|
||||
after_build:
|
||||
- C:\%PYTHON_VER%\python.exe setup.py bdist_wininst bdist_wheel
|
||||
|
@ -44,7 +51,7 @@ after_build:
|
|||
# test_script:
|
||||
# - C:\%PYTHON_VER%\python.exe setup.py test
|
||||
artifacts:
|
||||
- path: 'dist\*.whl'
|
||||
- path: 'dist\*.exe'
|
||||
- path: '**\*.dll'
|
||||
- path: '**\*.lib'
|
||||
- path: 'dist\*.whl'
|
||||
- path: 'dist\*.exe'
|
||||
- path: '**\*.dll'
|
||||
- path: '**\*.lib'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue