Add ComputeSharp.Core.msbuildproj package project

このコミットが含まれているのは:
Sergio Pedri committed 2022-04-24 21:03:45 +02:00
1 親 b9a5807b55
コミット 4f6119daf9
11ファイル変更
+62 -17

検索条件に一致するファイルはありません

+24 -11
ファイルの表示
@@ -156,9 +156,9 @@ jobs:
run: dotnet build samples\ComputeSharp.SwapChain\ComputeSharp.SwapChain.csproj -c Release
shell: cmd
# Buils the .msbuildproj project to generate the NuGet package.
# This workflow also uploads the resulting package as an artifact.
build-package:
# Build the .msbuildproj projects to generate the NuGet packages.
# This workflow also uploads the resulting packages as artifacts.
build-packages:
if: success()
needs: [build-solution-debug, build-solution-release]
runs-on: windows-2022
@@ -169,6 +169,14 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Build ComputeSharp.Core package
run: dotnet build src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj -c Release /p:ContinuousIntegrationBuild=True
shell: cmd
- name: Upload ComputeSharp.Core package artifact
uses: actions/upload-artifact@v2
with:
name: ComputeSharp.Core.nupkg
path: src\ComputeSharp.Core.Package\bin\Release\*.nupkg
- name: Build ComputeSharp package
run: dotnet build src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj -c Release /p:ContinuousIntegrationBuild=True
shell: cmd
@@ -186,12 +194,12 @@ jobs:
name: ComputeSharp.Dynamic.nupkg
path: src\ComputeSharp.Dynamic.Package\bin\Release\*.nupkg
# Download the NuGet package generated in the previous job and use it
# to build and run the sample project referencing it. This is used as
# a test to ensure the NuGet package works in a consuming project.
verify-package:
# Download the NuGet packages generated in the previous job and use them
# to build and run the sample project referencing them. This is used as
# a test to ensure the NuGet packages work in a consuming project.
verify-packages:
if: success()
needs: [build-package]
needs: [build-packages]
runs-on: windows-2022
steps:
- name: Git checkout
@@ -203,6 +211,11 @@ jobs:
- name: Create local NuGet feed
run: mkdir src\ComputeSharp.Package\bin\Release
shell: cmd
- name: Download ComputeSharp.Core package artifact
uses: actions/download-artifact@v2
with:
name: ComputeSharp.Core.nupkg
path: src\ComputeSharp.Core.Package\bin\Release\ComputeSharp.Core.nupkg
- name: Download ComputeSharp package artifact
uses: actions/download-artifact@v2
with:
@@ -237,7 +250,7 @@ jobs:
# regardless of whether the app is shipping with R2R, self-contained, etc.
verify-package-native-libs:
if: success()
needs: [verify-package]
needs: [verify-packages]
runs-on: windows-2022
steps:
- name: Git checkout
@@ -254,7 +267,7 @@ jobs:
# This workflow also uploads the resulting package as an artifact.
build-package-winui:
if: success()
needs: [verify-package]
needs: [verify-packages]
runs-on: windows-2022
steps:
- name: Git checkout
@@ -281,7 +294,7 @@ jobs:
# This workflow also uploads the resulting package as an artifact, like the WinUI one.
build-package-uwp:
if: success()
needs: [verify-package]
needs: [verify-packages]
runs-on: windows-2022
steps:
- name: Git checkout
+4 -2
ファイルの表示
@@ -30,9 +30,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SourceGenerato
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NuGet", "NuGet", "{FB17EF84-9208-47AC-921F-680CB1DAD8BA}"
ProjectSection(SolutionItems) = preProject
src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj = src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj
src\ComputeSharp.Dynamic.Package\ComputeSharp.Dynamic.Package.msbuildproj = src\ComputeSharp.Dynamic.Package\ComputeSharp.Dynamic.Package.msbuildproj
src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj = src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj
src\ComputeSharp.Package\icon.png = src\ComputeSharp.Package\icon.png
src\ComputeSharp.Core.Package\icon.png = src\ComputeSharp.Core.Package\icon.png
src\ComputeSharp.Core.Package\icon_highres.png = src\ComputeSharp.Core.Package\icon_highres.png
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Sample", "samples\ComputeSharp.Sample\ComputeSharp.Sample.csproj", "{7048DEEA-0A6F-46A0-B951-B682A8F1CB75}"
@@ -85,7 +87,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Core", "src\Co
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComputeSharp.Core.NetStandard", "src\ComputeSharp.Core.NetStandard\ComputeSharp.Core.NetStandard.shproj", "{3ACACF03-6B20-40BA-B8EC-11AC1624D2C9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputeSharp.Core.SourceGenerators", "src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj", "{BFB003D1-788B-48DE-8065-39479C162CB0}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Core.SourceGenerators", "src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj", "{BFB003D1-788B-48DE-8065-39479C162CB0}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
+1
ファイルの表示
@@ -7,6 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ComputeSharp.Core" Version="2.0.0" />
<PackageReference Include="ComputeSharp" Version="2.0.0" />
<PackageReference Include="ComputeSharp.Dynamic" Version="2.0.0" />
</ItemGroup>
+1
ファイルの表示
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="ComputeSharp-Core" value="..\..\src\ComputeSharp.Core.Package\bin\Release" />
<add key="ComputeSharp" value="..\..\src\ComputeSharp.Package\bin\Release" />
<add key="ComputeSharp-Dynamic" value="..\..\src\ComputeSharp.Dynamic.Package\bin\Release" />
</packageSources>
+22
ファイルの表示
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<PackageId>ComputeSharp.Core</PackageId>
<Title>ComputeSharp.Core</Title>
<Description>A library containing basic primitives to support ComputeSharp (this package is not supposed to be referenced directly by developers)</Description>
</PropertyGroup>
<ItemGroup>
<Content Include="icon.png" PackFolder="\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ComputeSharp.Core\ComputeSharp.Core.csproj" />
<ProjectReference Include="..\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" PackFolder="analyzers\dotnet\cs" />
</ItemGroup>
</Project>
ファイルの表示
差分なしでファイル名を変更。

変更前

幅:  |  高さ:  |  サイズ: 1.5 KiB

変更後

幅:  |  高さ:  |  サイズ: 1.5 KiB

差分なしでファイル名を変更。

変更前

幅:  |  高さ:  |  サイズ: 22 KiB

変更後

幅:  |  高さ:  |  サイズ: 22 KiB

+1 -1
ファイルの表示
@@ -11,7 +11,7 @@
</PropertyGroup>
<ItemGroup>
<Content Include="..\ComputeSharp.Package\icon.png" PackFolder="\" />
<Content Include="..\ComputeSharp.Core.Package\icon.png" PackFolder="\" />
</ItemGroup>
<ItemGroup>
+7 -1
ファイルの表示
@@ -11,12 +11,18 @@
</PropertyGroup>
<ItemGroup>
<Content Include="icon.png" PackFolder="\" />
<Content Include="..\ComputeSharp.Core.Package\icon.png" PackFolder="\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ComputeSharp\ComputeSharp.csproj" />
<ProjectReference Include="..\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" PackFolder="analyzers\dotnet\cs" />
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="net6.0">
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="netstandard2.0">
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Project>
+1 -1
ファイルの表示
@@ -27,7 +27,7 @@
</PropertyGroup>
<ItemGroup>
<None Include="..\ComputeSharp.Package\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
<None Include="..\ComputeSharp.Core.Package\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
</ItemGroup>
<ItemGroup>
+1 -1
ファイルの表示
@@ -19,7 +19,7 @@
</PropertyGroup>
<ItemGroup>
<None Include="..\ComputeSharp.Package\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
<None Include="..\ComputeSharp.Core.Package\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
</ItemGroup>
<ItemGroup>