diff options
author | Przemyslaw Skibinski <inikep@gmail.com> | 2016-11-15 13:09:36 (GMT) |
---|---|---|
committer | Przemyslaw Skibinski <inikep@gmail.com> | 2016-11-15 13:09:36 (GMT) |
commit | eb160e1a2ccf909af0e291849be6414747af3e4d (patch) | |
tree | 1728079a51cf67826f8e1b2d085cc90b9cffa5d2 | |
parent | 45b8623afa4e115244ae346c84f17751bf548fb9 (diff) | |
download | lz4-eb160e1a2ccf909af0e291849be6414747af3e4d.zip lz4-eb160e1a2ccf909af0e291849be6414747af3e4d.tar.gz lz4-eb160e1a2ccf909af0e291849be6414747af3e4d.tar.bz2 |
appveyor.yml: added liblz4_x86.zip
-rw-r--r-- | appveyor.yml | 30 | ||||
-rw-r--r-- | lib/dll/README.md | 2 |
2 files changed, 24 insertions, 8 deletions
diff --git a/appveyor.yml b/appveyor.yml index 6712554..b5ac747 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -54,7 +54,7 @@ build_script: make -C lib lib CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" ) ) - - if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw64] ( + - if [%COMPILER%]==[gcc] if not [%PLATFORM%]==[clang] ( MKDIR bin\dll bin\static bin\fullbench bin\include && COPY tests\fullbench.c bin\fullbench\ && COPY lib\xxhash.c bin\fullbench\ && @@ -66,13 +66,17 @@ build_script: COPY lib\dll\fullbench-dll\Makefile bin\ && COPY lib\dll\fullbench-dll\fullbench-dll.* bin\fullbench\ && COPY lib\dll\README.md bin\ && - COPY lib\liblz4.a bin\static\liblz4_static.lib && - 7z.exe a bin\liblz4-dll_x64.zip .\bin\fullbench .\bin\dll .\bin\static .\bin\include .\bin\Makefile .\bin\README.md && - appveyor PushArtifact bin\liblz4-dll_x64.zip && + COPY lib\liblz4.a bin\static\liblz4_static.lib + ) + - if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw64] ( + 7z.exe a bin\liblz4_x64.zip .\bin\fullbench .\bin\dll .\bin\static .\bin\include .\bin\Makefile .\bin\README.md && + appveyor PushArtifact bin\liblz4_x64.zip && COPY programs\lz4.exe bin\lz4.exe && appveyor PushArtifact bin\lz4.exe ) - if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw32] ( + 7z.exe a bin\liblz4_x86.zip .\bin\fullbench .\bin\dll .\bin\static .\bin\include .\bin\Makefile .\bin\README.md && + appveyor PushArtifact bin\liblz4_x86.zip && COPY programs\lz4.exe bin\lz4_32.exe && appveyor PushArtifact bin\lz4_32.exe ) @@ -101,7 +105,7 @@ test_script: - ECHO *** && ECHO Testing %COMPILER% %PLATFORM% %CONFIGURATION% && ECHO *** - - if [%COMPILER%]==[unknown] ( + - if not [%COMPILER%]==[unknown] ( CD programs && lz4 -h && lz4 -i1b lz4.exe && @@ -115,7 +119,7 @@ test_script: artifacts: - path: bin\lz4.exe - path: bin\lz4_32.exe - - path: bin\liblz4-dll_x64.zip + - path: bin\liblz4_x64.zip deploy: - provider: GitHub @@ -127,6 +131,7 @@ deploy: COMPILER: gcc PLATFORM: "mingw64" appveyor_repo_tag: true + - provider: GitHub auth_token: secure: LgJo8emYc3sFnlNWkGl4/VYK3nk/8+RagcsqDlAi3xeqNGNutnKjcftjg84uJoT4 @@ -136,12 +141,23 @@ deploy: COMPILER: gcc PLATFORM: "mingw32" appveyor_repo_tag: true + - provider: GitHub auth_token: secure: LgJo8emYc3sFnlNWkGl4/VYK3nk/8+RagcsqDlAi3xeqNGNutnKjcftjg84uJoT4 - artifact: bin\liblz4-dll_x64.zip + artifact: bin\liblz4_x64.zip force_update: true on: COMPILER: gcc PLATFORM: "mingw64" appveyor_repo_tag: true + +- provider: GitHub + auth_token: + secure: LgJo8emYc3sFnlNWkGl4/VYK3nk/8+RagcsqDlAi3xeqNGNutnKjcftjg84uJoT4 + artifact: bin\liblz4_x86.zip + force_update: true + on: + COMPILER: gcc + PLATFORM: "mingw32" + appveyor_repo_tag: true diff --git a/lib/dll/README.md b/lib/dll/README.md index d6b4e84..779b8ae 100644 --- a/lib/dll/README.md +++ b/lib/dll/README.md @@ -1,7 +1,7 @@ The static and dynamic LZ4 libraries ==================================== -#### The package content +#### The package contents - `dll\liblz4.dll` : The DLL of LZ4 library - `dll\liblz4.lib` : The import library of LZ4 library |