-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Replace coapp with zip package #4244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3381ac4
Test coapp
emasab defc55c
Restore vcxproj changes
emasab 0e21737
Test zip file
emasab 91ec7ce
Packaging with Windows zip package
emasab dc68884
Use 7z instead of Compress-Archive
emasab eb862ac
Remove artifact_fname_excludes for lib files
emasab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Test zip file
- Loading branch information
commit 0e2173786b196ead82f7a34076e51aec77d353e4
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| # Build guide for Windows | ||
|
|
||
| * build.bat - Build for all combos of: Win32,x64,Release,Debug using the current msbuild toolset | ||
| * build-package.bat - Build NuGet packages (wrapper for package-nuget.ps1) | ||
| * package-nuget.ps1 - Build NuGet packages (using build.bat artifacts) | ||
| * push-package.bat - Push NuGet packages to NuGet (edit script for version) | ||
| * package-zip.ps1 - Build zip package (using build.bat artifacts) | ||
|
|
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| <# | ||
| .SYNOPSIS | ||
|
|
||
| Create zip package | ||
|
|
||
|
|
||
| .DESCRIPTION | ||
|
|
||
| A full build must be completed, to populate output directories, before | ||
|
|
||
| running this script. | ||
|
|
||
| Use build.bat to build | ||
|
|
||
| #> | ||
|
|
||
| param( | ||
| [string]$config='Release', | ||
| [string]$platform='x64', | ||
| [string]$toolset='v142', | ||
| [string]$version='0.0.0' | ||
| ) | ||
|
|
||
| $msbuild = (& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe) | ||
|
|
||
| echo "Packaging $config $platform $toolset" | ||
|
|
||
| $bindir = "build\native\bin\${toolset}\${platform}\$config" | ||
| $libdir = "build\native\lib\${toolset}\${platform}\$config" | ||
| $srcdir = "win32\outdir\${toolset}\${platform}\$config" | ||
|
|
||
| New-Item -Path $bindir -ItemType Directory | ||
| New-Item -Path $libdir -ItemType Directory | ||
|
|
||
| $platformpart = "" | ||
| if ("x64" -eq $platform) { | ||
| $platformpart = "-${platform}" | ||
| } | ||
|
|
||
| Copy-Item "${srcdir}\librdkafka.dll","${srcdir}\librdkafkacpp.dll", | ||
| "${srcdir}\libcrypto-3${platformpart}.dll","${srcdir}\libssl-3${platformpart}.dll", | ||
| "${srcdir}\zlib1.dll","${srcdir}\zstd.dll","${srcdir}\libcurl.dll" -Destination $bindir | ||
|
|
||
| Copy-Item "${srcdir}\librdkafka.lib","${srcdir}\librdkafkacpp.lib" -Destination $libdir | ||
|
|
||
| Compress-Archive -Path "build" -DestinationPath "artifacts\librdkafka.redist.zip" | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need some understanding on this