summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-16 08:21:10 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-16 08:21:10 (GMT)
commit873206e70e68efb75eae772ade3bce1d8e221c06 (patch)
treee69a622e8783f1b01b02cd5825d8a7731aa217fd /appveyor.yml
parent7b6a9d86383579099fd174000b857a5ea1671f0b (diff)
downloadlz4-873206e70e68efb75eae772ade3bce1d8e221c06.zip
lz4-873206e70e68efb75eae772ade3bce1d8e221c06.tar.gz
lz4-873206e70e68efb75eae772ade3bce1d8e221c06.tar.bz2
appveyor.yml: create only lz4_x64.zip and lz4_x86.zip
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml53
1 files changed, 15 insertions, 38 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 210f5d7..9643b71 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -66,19 +66,16 @@ 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
+ COPY lib\liblz4.a bin\static\liblz4_static.lib &&
+ COPY programs\lz4.exe bin\lz4.exe
)
- 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
+ 7z.exe a bin\liblz4_x64.zip .\bin\lz4.exe .\bin\fullbench .\bin\dll .\bin\static .\bin\include .\bin\Makefile .\bin\README.md &&
+ appveyor PushArtifact bin\lz4_x64.zip
)
- 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
+ 7z.exe a bin\liblz4_x86.zip .\bin\lz4.exe .\bin\fullbench .\bin\dll .\bin\static .\bin\include .\bin\Makefile .\bin\README.md &&
+ appveyor PushArtifact bin\lz4_x86.zip
)
- if [%COMPILER%]==[gcc] (COPY tests\fullbench.exe programs\)
- if [%COMPILER%]==[visual] (
@@ -105,7 +102,7 @@ test_script:
- ECHO *** &&
ECHO Testing %COMPILER% %PLATFORM% %CONFIGURATION% &&
ECHO ***
- - if not [%COMPILER%]==[unknown] (
+ - if [%COMPILER%]==[unknown] (
CD programs &&
lz4 -h &&
lz4 -i1b lz4.exe &&
@@ -117,48 +114,28 @@ test_script:
)
artifacts:
- - path: bin\lz4.exe
- - path: bin\lz4_32.exe
- - path: bin\liblz4_x64.zip
- - path: bin\liblz4_x86.zip
+ - path: bin\lz4_x64.zip
+ - path: bin\lz4_x86.zip
deploy:
- provider: GitHub
+ artifact: bin\lz4_x64.zip
+ release: lz4_x64-v$(appveyor_build_version)
auth_token:
secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
- artifact: bin\lz4.exe
force_update: true
on:
COMPILER: gcc
PLATFORM: "mingw64"
- appveyor_repo_tag: true
+ #appveyor_repo_tag: true
- provider: GitHub
+ artifact: bin\lz4_x86.zip
+ release: lz4_x86-v$(appveyor_build_version)
auth_token:
secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
- artifact: bin\lz4_32.exe
force_update: true
on:
COMPILER: gcc
PLATFORM: "mingw32"
- appveyor_repo_tag: true
-
-- provider: GitHub
- auth_token:
- secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
- artifact: bin\liblz4_x64.zip
- force_update: true
- on:
- COMPILER: gcc
- PLATFORM: "mingw64"
- appveyor_repo_tag: true
-
-- provider: GitHub
- auth_token:
- secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
- artifact: bin\liblz4_x86.zip
- force_update: true
- on:
- COMPILER: gcc
- PLATFORM: "mingw32"
- appveyor_repo_tag: true
+ #appveyor_repo_tag: true