diff options
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 61 |
1 files changed, 19 insertions, 42 deletions
diff --git a/appveyor.yml b/appveyor.yml index 210f5d7..93c1101 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -55,30 +55,27 @@ build_script: ) ) - 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\ && - COPY lib\xxhash.h bin\fullbench\ && + MKDIR bin\dll bin\static bin\example bin\include && + COPY tests\fullbench.c bin\example\ && + COPY lib\xxhash.c bin\example\ && + COPY lib\xxhash.h bin\example\ && COPY lib\lz4.h bin\include\ && COPY lib\lz4hc.h bin\include\ && COPY lib\lz4frame.h bin\include\ && + COPY lib\liblz4.a bin\static\liblz4_static.lib && COPY lib\dll\liblz4.* bin\dll\ && - 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\dll\example\Makefile bin\example\ && + COPY lib\dll\example\fullbench-dll.* bin\example\ && + COPY lib\dll\example\README.md bin\ && + 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\lz4_x64.zip NEWS .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\static .\bin\include && + 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\lz4_x86.zip NEWS .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\static .\bin\include && + appveyor PushArtifact bin\lz4_x86.zip ) - if [%COMPILER%]==[gcc] (COPY tests\fullbench.exe programs\) - if [%COMPILER%]==[visual] ( @@ -117,47 +114,27 @@ 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 auth_token: secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId - artifact: bin\lz4.exe force_update: true + prerelease: true on: COMPILER: gcc PLATFORM: "mingw64" appveyor_repo_tag: true - provider: GitHub + artifact: bin\lz4_x86.zip 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 + prerelease: true on: COMPILER: gcc PLATFORM: "mingw32" |