Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LibZipSharp.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_LibZipSharpNugetVersion>1.0.22</_LibZipSharpNugetVersion>
<_LibZipSharpNugetVersion>1.0.23</_LibZipSharpNugetVersion>
</PropertyGroup>
</Project>
6 changes: 4 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ stages:
displayName: "Build"
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: build\Windows\32\lib\Release\zip.dll
rootFolderOrFile: build\Windows\32\lib\RelWithDebInfo\
includeRootFolder: false
archiveType: 7z
replaceExistingArchive: true
archiveFile: $(Build.ArtifactStagingDirectory)\libzip-windows-x86.7z
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: build\Windows\64\lib\Release\zip.dll
rootFolderOrFile: build\Windows\64\lib\RelWithDebInfo\
includeRootFolder: false
archiveType: 7z
replaceExistingArchive: true
Expand Down Expand Up @@ -144,6 +144,8 @@ stages:
mv build/Linux/64/libzip.so.5.3 build/Linux/64/libzip.so
mv build/Windows/32/zip.dll build/Windows/32/libzip.dll
mv build/Windows/64/zip.dll build/Windows/64/libzip.dll
mv build/Windows/32/zip.pdb build/Windows/32/libzip.pdb
mv build/Windows/64/zip.pdb build/Windows/64/libzip.pdb
rm $(Build.ArtifactStagingDirectory)/native/libzip-linux-*.7z
rm $(Build.ArtifactStagingDirectory)/native/libzip-windows-*.7z
displayName: 'Find libzip'
Expand Down
4 changes: 2 additions & 2 deletions build_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ pushd .
mkdir .\build\Windows\64
cd .\build\Windows\64
cmake %LIBZIP_FEATURES% %COMMON_CMAKE_PARAMS% -DZLIB_ROOT=..\..\..\external\vcpkg\installed\x64-windows-static -A x64 ..\..\..\external\libzip
cmake --build . --config Release -v
cmake --build . --config RelWithDebInfo -v
popd
pushd .

mkdir .\build\Windows\32
cd .\build\Windows\32
cmake %LIBZIP_FEATURES% %COMMON_CMAKE_PARAMS% -DZLIB_ROOT=..\..\..\external\vcpkg\installed\x86-windows-static -A Win32 ..\..\..\external\libzip
cmake --build . --config Release -v
cmake --build . --config RelWithDebInfo -v
popd
2 changes: 2 additions & 0 deletions libZipSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
</None>
<None Include="build\Darwin\64\lib\libzip.5.3.dylib" PackagePath="runtimes\osx\native\libzip.dylib" Pack="true" />
<None Include="build\Windows\64\libzip.dll" PackagePath="runtimes\win-x64\native\libzip.dll" Pack="true" />
<None Include="build\Windows\64\libzip.pdb" PackagePath="runtimes\win-x64\native\libzip.pdb" Pack="true" />
<None Include="build\Windows\32\libzip.dll" PackagePath="runtimes\win-x86\native\libzip.dll" Pack="true" />
<None Include="build\Windows\32\libzip.pdb" PackagePath="runtimes\win-x86\native\libzip.pdb" Pack="true" />
<None Include="build\Linux\64\libzip.so" PackagePath="runtimes\linux-x64\native\libzip.so" Pack="true" />
<None Include="build\Linux\32\libzip.so" PackagePath="runtimes\linux-x86\native\libzip.so" Pack="true" />
<None Include="LICENSE" PackagePath="Licences" Pack="true" />
Expand Down