Appveyor build artefact creates zipped cli binary

This commit is contained in:
Yann Collet 2017-05-04 17:30:37 -07:00
parent c21a9c3596
commit 9203dab529

View File

@ -88,8 +88,8 @@
( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true]
lib\dll\example\build_package.bat &&
make -C programs DEBUGFLAGS= clean zstd &&
cp programs\zstd.exe zstd_%PLATFORM%.exe &&
appveyor PushArtifact zstd_%PLATFORM%.exe &&
7z a -tzip zstd-win-binary-%PLATFORM%.zip programs\zstd.exe &&
appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip &&
cp programs\zstd.exe bin\zstd.exe &&
cd bin\ && 7z a -tzip zstd-win-release-%PLATFORM%.zip * &&
appveyor PushArtifact zstd-win-release-%PLATFORM%.zip