2019-04-25 14:51:47 +00:00
|
|
|
environment:
|
|
|
|
APP_VERSION: '2.1'
|
|
|
|
|
|
|
|
|
|
|
|
version: '$(APP_VERSION).{build}'
|
2018-04-30 14:35:07 +00:00
|
|
|
|
2019-04-25 13:27:44 +00:00
|
|
|
image: Visual Studio 2017
|
|
|
|
|
2015-09-15 21:58:11 +00:00
|
|
|
install:
|
2016-07-31 03:03:48 +00:00
|
|
|
- set PATH=%PATH%;C:\msys64\mingw32\bin
|
2015-09-15 21:58:11 +00:00
|
|
|
|
2015-09-15 21:48:14 +00:00
|
|
|
build_script:
|
2016-07-31 03:03:48 +00:00
|
|
|
- cd miniupnpc
|
2018-04-26 20:49:06 +00:00
|
|
|
- appveyor AddCompilationMessage "Building miniupnpc"
|
2016-07-31 03:03:48 +00:00
|
|
|
- mingw32-make -f Makefile.mingw
|
2019-04-25 13:27:44 +00:00
|
|
|
- mingw32-make -f Makefile.mingw pythonmodule PYTHON=C:\Python37\python
|
2018-04-26 20:35:32 +00:00
|
|
|
|
|
|
|
after_build:
|
2018-04-30 14:39:28 +00:00
|
|
|
- 7z a ..\miniupnpc-%APPVEYOR_BUILD_VERSION%.zip *.exe *.dll *.a *.lib
|
2018-04-26 20:35:32 +00:00
|
|
|
|
|
|
|
artifacts:
|
2018-04-30 14:35:07 +00:00
|
|
|
- path: miniupnpc-$(appveyor_build_version).zip
|
2018-04-26 20:35:32 +00:00
|
|
|
name: miniupnpc binaries
|
2019-04-25 14:51:47 +00:00
|
|
|
- path: miniupnpc/dist/miniupnpc-$(APP_VERSION)-py3.7-win32.egg
|
2018-04-26 20:35:32 +00:00
|
|
|
name: miniupnpc python module
|