2018-05-07 13:11:27 +02:00
|
|
|
version: '2.1.{build}'
|
2018-04-30 16:35:07 +02:00
|
|
|
|
2015-09-15 23:58:11 +02:00
|
|
|
install:
|
2016-07-31 11:03:48 +08:00
|
|
|
- set PATH=%PATH%;C:\msys64\mingw32\bin
|
2015-09-15 23:58:11 +02:00
|
|
|
|
2015-09-15 23:48:14 +02:00
|
|
|
build_script:
|
2016-07-31 11:03:48 +08:00
|
|
|
- cd miniupnpc
|
2018-04-26 22:49:06 +02:00
|
|
|
- appveyor AddCompilationMessage "Building miniupnpc"
|
2016-07-31 11:03:48 +08:00
|
|
|
- mingw32-make -f Makefile.mingw
|
2018-04-26 22:17:53 +02:00
|
|
|
- mingw32-make -f Makefile.mingw pythonmodule PYTHON=C:\Python27\python
|
2016-07-31 11:03:48 +08:00
|
|
|
# - upnpc-static.exe -l
|
2018-04-26 22:35:32 +02:00
|
|
|
|
|
|
|
after_build:
|
2018-04-30 16:39:28 +02:00
|
|
|
- 7z a ..\miniupnpc-%APPVEYOR_BUILD_VERSION%.zip *.exe *.dll *.a *.lib
|
|
|
|
- 7z a ..\miniupnpc-python-%APPVEYOR_BUILD_VERSION%.zip build\ dist\
|
2018-04-26 22:35:32 +02:00
|
|
|
|
|
|
|
artifacts:
|
2018-04-30 16:35:07 +02:00
|
|
|
- path: miniupnpc-$(appveyor_build_version).zip
|
2018-04-26 22:35:32 +02:00
|
|
|
name: miniupnpc binaries
|
2018-04-30 16:35:07 +02:00
|
|
|
- path: miniupnpc-python-$(appveyor_build_version).zip
|
2018-04-26 22:35:32 +02:00
|
|
|
name: miniupnpc python module
|