From 929608146a439c4bd28b989a5af47cb9afce2af5 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 23 Mar 2018 15:00:04 -0700 Subject: [PATCH] create .tar.zst source package --- appveyor.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7d6ca99b..1f092574 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -80,12 +80,17 @@ SET "LDFLAGS=../../zlib/libz.a" && sh -c "%SCRIPT%" && ( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true] + ECHO Creating artifacts && + ECHO %cd% && + make clean && 7z a -ttar -so zstd-src.tar * && lib\dll\example\build_package.bat && - make -C programs DEBUGFLAGS= clean zstd && - cd programs\ && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe && + cd programs\ && make DEBUGFLAGS= clean zstd && + 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe && appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip && cp zstd.exe ..\bin\zstd.exe && - cd ..\bin\ && 7z a -tzip -mx9 zstd-win-release-%PLATFORM%.zip * && + cd .. && zstd --ultra -22 zstd-src.tar && + appveyor PushArtifact zstd-src.tar.zst && + cd bin\ && 7z a -tzip -mx9 zstd-win-release-%PLATFORM%.zip * && appveyor PushArtifact zstd-win-release-%PLATFORM%.zip ) )