-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding build for NuGet package (#79)
* Adding build for NuGet package * Add missing files * Change NuGet output path so it hopefully uploads in CI * Still trying to get nupkg to upload to artifacts * Trying again to get NuGet to upload in CI * Make build logs artifact name unique per build phase * Removing project URL being explicitly specified to see if the DotNet.ReproducibleBuilds package will actually fill in the repo, branch and commit in CI
- Loading branch information
1 parent
fe023bc
commit ed29b0e
Showing
10 changed files
with
95 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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 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 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 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,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Copyright (c) Microsoft Corporation | ||
SPDX-License-Identifier: MIT | ||
--> | ||
<Project> | ||
<ItemGroup Condition="'$(MSBuildProjectExtension)'=='.proj' or '$(MSBuildProjectExtension)' == '.csproj'"> | ||
<PackageReference Include="DotNet.ReproducibleBuilds"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="DotNet.ReproducibleBuilds.Isolated"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
This file contains 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 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,9 @@ | ||
{ | ||
"sdk": { | ||
"version": "8.0.000", | ||
"rollForward": "latestPatch" | ||
}, | ||
"msbuild-sdks": { | ||
"Microsoft.Build.NoTargets": "3.7.56" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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,4 @@ | ||
# eBPF for Windows Extensions NuGet Package | ||
|
||
This NuGet package includes the binaries for eBPF for Windows Extensions, | ||
such as `ntosebpfext` and `neteventebpfext`. |
This file contains 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,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (c) Microsoft Corporation | ||
SPDX-License-Identifier: MIT | ||
--> | ||
<Project Sdk="Microsoft.Build.NoTargets"> | ||
<PropertyGroup> | ||
<OutputPath>$(MSBuildThisFileDirectory)..\..\$(Platform)\$(Configuration)</OutputPath> | ||
<PackageId>eBPF-for-Windows.Extensions</PackageId> | ||
<IsPackable>true</IsPackable> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<Authors>eBPF for Windows Contributors</Authors> | ||
<Owners>eBPF for Windows Contributors</Owners> | ||
<Title>eBPF for Windows Extensions</Title> | ||
<PackageDescription>eBPF for Windows Extensions</PackageDescription> | ||
<PackageVersion>$(eBPFExtensionsVersionMajor).$(eBPFExtensionsVersionMinor).$(eBPFExtensionsVersionRevision)</PackageVersion> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageTags>native ebpf</PackageTags> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="eBPF-for-Windows" /> | ||
</ItemGroup> | ||
|
||
<Target Name="_Get_NetNativeContent" BeforeTargets="PrepareForBuild;_IntermediatePack"> | ||
<ItemGroup> | ||
<None Include="README.md" PackagePath="." Pack="true" /> | ||
<None Include="..\..\$(Platform)\$(Configuration)\ntosebpfext.sys" PackagePath="build\native\bin" Pack="true" /> | ||
<None Include="..\..\$(Platform)\$(Configuration)\ntosebpfext.pdb" PackagePath="build\native\bin" Pack="true" /> | ||
<None Include="..\..\$(Platform)\$(Configuration)\neteventebpfext.sys" PackagePath="build\native\bin" Pack="true" /> | ||
<None Include="..\..\$(Platform)\$(Configuration)\neteventebpfext.pdb" PackagePath="build\native\bin" Pack="true" /> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |