Adding artifacts to AppVeyor config.

This commit is contained in:
AeroXuk
2017-11-23 02:24:06 +00:00
parent f07ab765cb
commit d205f4d2bb
2 changed files with 9 additions and 0 deletions

View File

@@ -21,3 +21,10 @@ build_script:
test_script: test_script:
- '%APPVEYOR_BUILD_FOLDER%\test\test_libpostal.exe' - '%APPVEYOR_BUILD_FOLDER%\test\test_libpostal.exe'
after_build:
- 7z a libpostal.zip %APPVEYOR_BUILD_FOLDER%\libpostal.dll %APPVEYOR_BUILD_FOLDER%\libpostal.def %APPVEYOR_BUILD_FOLDER%\libpostal.exp %APPVEYOR_BUILD_FOLDER%\libpostal.lib
artifacts:
- path: libpostal.zip
name: libpostal

View File

@@ -19,4 +19,6 @@ IF %COMPILER%==msys2 (
bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --datadir=/c" bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --datadir=/c"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && make" bash -lc "cd $APPVEYOR_BUILD_FOLDER && make"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install" bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && cp src/.libs/libpostal-*.dll libpostal.dll"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\lib.exe" /def:libpostal.def /out:libpostal.lib /machine:x64
) )