From 5625cc21eac2a62c91e3c4c5f6ee88840c209ec2 Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Tue, 15 Nov 2016 13:29:33 +0100 Subject: [PATCH] appveyor.yml: generate DLL package --- appveyor.yml | 17 ++++++++++++++--- lib/dll/{ => fullbench-dll}/Makefile | 0 lib/dll/{ => fullbench-dll}/fullbench-dll.sln | 0 lib/dll/{ => fullbench-dll}/fullbench-dll.vcxproj | 4 ++++ 4 files changed, 18 insertions(+), 3 deletions(-) rename lib/dll/{ => fullbench-dll}/Makefile (100%) rename lib/dll/{ => fullbench-dll}/fullbench-dll.sln (100%) rename lib/dll/{ => fullbench-dll}/fullbench-dll.vcxproj (96%) diff --git a/appveyor.yml b/appveyor.yml index 661b787..7bde6f3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,7 +22,7 @@ environment: install: - ECHO Installing %COMPILER% %PLATFORM% %CONFIGURATION% - - MKDIR bin bin\x86 bin\x64 + - MKDIR bin - if [%COMPILER%]==[gcc] SET PATH_ORIGINAL=%PATH% - if [%COMPILER%]==[gcc] ( SET "PATH_MINGW32=c:\MinGW\bin;c:\MinGW\usr\bin" && @@ -55,8 +55,19 @@ build_script: ) ) - if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw64] ( - COPY lib\liblz4.* bin\x64\ && - 7z a bin\liblz4-dll_x64.zip bin\x64\* && + 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\ && + COPY lib\lz4.h bin\include\ && + COPY lib\lz4hc.h bin\include\ && + COPY lib\lz4frame.h bin\include\ && + 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 && + 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 programs\lz4.exe bin\lz4.exe && appveyor PushArtifact bin\lz4.exe diff --git a/lib/dll/Makefile b/lib/dll/fullbench-dll/Makefile similarity index 100% rename from lib/dll/Makefile rename to lib/dll/fullbench-dll/Makefile diff --git a/lib/dll/fullbench-dll.sln b/lib/dll/fullbench-dll/fullbench-dll.sln similarity index 100% rename from lib/dll/fullbench-dll.sln rename to lib/dll/fullbench-dll/fullbench-dll.sln diff --git a/lib/dll/fullbench-dll.vcxproj b/lib/dll/fullbench-dll/fullbench-dll.vcxproj similarity index 96% rename from lib/dll/fullbench-dll.vcxproj rename to lib/dll/fullbench-dll/fullbench-dll.vcxproj index b2abd55..57be0b8 100644 --- a/lib/dll/fullbench-dll.vcxproj +++ b/lib/dll/fullbench-dll/fullbench-dll.vcxproj @@ -91,6 +91,7 @@ WIN32;_DEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions) true false + ..\include Console @@ -109,6 +110,7 @@ true true /analyze:stacksize295252 %(AdditionalOptions) + ..\include Console @@ -128,6 +130,7 @@ WIN32;NDEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions) false false + ..\include Console @@ -150,6 +153,7 @@ false true /analyze:stacksize295252 %(AdditionalOptions) + ..\include Console -- 2.7.4