]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
create .tar.zst source package
authorYann Collet <cyan@fb.com>
Fri, 23 Mar 2018 22:00:04 +0000 (15:00 -0700)
committerYann Collet <cyan@fb.com>
Fri, 23 Mar 2018 22:00:04 +0000 (15:00 -0700)
appveyor.yml

index 7d6ca99bbc11766e7b302406abfd8337e4558c69..1f092574c4ded8717546e332d5bd0dcaab50854f 100644 (file)
       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
       )
     )