]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Merge branch 'dev' into srcPackage 1072/head
authorYann Collet <cyan@fb.com>
Sat, 24 Mar 2018 16:55:13 +0000 (09:55 -0700)
committerYann Collet <cyan@fb.com>
Sat, 24 Mar 2018 16:55:13 +0000 (09:55 -0700)
1  2 
appveyor.yml

diff --cc appveyor.yml
index b098fd452940b21e4f4796c9b1619f52bbfcc9a5,7d6ca99bbc11766e7b302406abfd8337e4558c69..742f612069dccfc361eae5322e8153b8b2d2df66
        SET "LDFLAGS=../../zlib/libz.a" &&
        sh -c "%SCRIPT%" &&
        ( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true]
 +          ECHO Creating artifacts &&
 +          ECHO %cd% &&
            lib\dll\example\build_package.bat &&
-           cd programs\ && make DEBUGFLAGS= clean zstd &&
-           7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&
+           make -C programs DEBUGFLAGS= clean zstd &&
+           cd programs\ && 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 * &&
 +          git clone --depth 1 --branch master https://github.com/facebook/zstd &&
 +          cd zstd &&
 +          git archive --format=tar master -o zstd-src.tar &&
 +          ..\zstd -19 zstd-src.tar &&
 +          appveyor PushArtifact zstd-src.tar.zst &&
-           certUtil -hashfile zstd-src.tar.zst SHA256 > zstd-src.sig.sha256 &&
-           appveyor PushArtifact zstd-src.sig.sha256 &&
++          certUtil -hashfile zstd-src.tar.zst SHA256 > zstd-src.tar.zst.sha256.sig &&
++          appveyor PushArtifact zstd-src.tar.zst.sha256.sig &&
 +          cd ..\..\bin\ &&
 +          7z a -tzip -mx9 zstd-win-release-%PLATFORM%.zip * &&
            appveyor PushArtifact zstd-win-release-%PLATFORM%.zip
        )
      )