+11
-2
@@ -2,7 +2,6 @@
|
|||||||
version: 1.0.{build}
|
version: 1.0.{build}
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- dev
|
|
||||||
- master
|
- master
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -80,12 +79,22 @@
|
|||||||
SET "LDFLAGS=../../zlib/libz.a" &&
|
SET "LDFLAGS=../../zlib/libz.a" &&
|
||||||
sh -c "%SCRIPT%" &&
|
sh -c "%SCRIPT%" &&
|
||||||
( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true]
|
( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true]
|
||||||
|
ECHO Creating artifacts &&
|
||||||
|
ECHO %cd% &&
|
||||||
lib\dll\example\build_package.bat &&
|
lib\dll\example\build_package.bat &&
|
||||||
make -C programs DEBUGFLAGS= clean zstd &&
|
make -C programs DEBUGFLAGS= clean zstd &&
|
||||||
cd programs\ && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&
|
cd programs\ && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&
|
||||||
appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip &&
|
appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip &&
|
||||||
cp zstd.exe ..\bin\zstd.exe &&
|
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.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
|
appveyor PushArtifact zstd-win-release-%PLATFORM%.zip
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user