[Python] AppVeyor CI for Python wheel package (#2941)
* Build python wheel artifacts for Windows * Remove Win32 target
This commit is contained in:
parent
33ac8a0927
commit
3b09037e22
@ -73,7 +73,9 @@ build_script:
|
|||||||
# Python package
|
# Python package
|
||||||
- if /i "%DO_PYTHON%" == "on" (
|
- if /i "%DO_PYTHON%" == "on" (
|
||||||
cd %APPVEYOR_BUILD_FOLDER%\python-package &&
|
cd %APPVEYOR_BUILD_FOLDER%\python-package &&
|
||||||
python setup.py install
|
python setup.py install &&
|
||||||
|
mkdir wheel &&
|
||||||
|
python setup.py bdist_wheel --universal --plat-name win-amd64 -d wheel
|
||||||
)
|
)
|
||||||
# R package: make + mingw standard CRAN packaging (only x64 for now)
|
# R package: make + mingw standard CRAN packaging (only x64 for now)
|
||||||
- if /i "%target%" == "rmingw" (
|
- if /i "%target%" == "rmingw" (
|
||||||
@ -122,3 +124,6 @@ artifacts:
|
|||||||
# binary R-package
|
# binary R-package
|
||||||
- path: '**\xgboost_*.zip'
|
- path: '**\xgboost_*.zip'
|
||||||
name: Bits
|
name: Bits
|
||||||
|
# binary Python wheel package
|
||||||
|
- path: '**\*.whl'
|
||||||
|
name: Bits
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user