Merge pull request #667 from Sergio0694/dev/publish-d2d-sample-arm64

Enable publishing Win2D sample on arm64 too
このコミットが含まれているのは:
Sergio Pedri authored and GitHub committed 2023-11-23 13:34:14 +01:00
コミット ac0064d5da
2ファイル変更
+6 -8

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

+3 -6
ファイルの表示
@@ -261,10 +261,8 @@ jobs:
path: samples\ComputeSharp.SwapChain.Cli\bin\Release\net8.0\win-x64\publish\computesharp.cli.exe
if-no-files-found: error
# Also publish the Win2D sample (with R2R).
# Only doing this on x64 (to avoid a Roslyn issue).
- if: matrix.platform == 'x64'
name: Publish ComputeSharp.SwapChain.D2D1.Cli (R2R)
# Also publish the Win2D sample (with R2R)
- name: Publish ComputeSharp.SwapChain.D2D1.Cli (R2R)
run: >
$env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_R2R='true';
$env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_AOT='false';
@@ -284,8 +282,7 @@ jobs:
return $process.ExitCode;
# Publish the Win2D sample again (with NativeAOT)
- if: matrix.platform == 'x64'
name: Publish ComputeSharp.SwapChain.D2D1.Cli (NativeAOT)
- name: Publish ComputeSharp.SwapChain.D2D1.Cli (NativeAOT)
run: >
$env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_R2R='false';
$env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_AOT='true';
+3 -2
ファイルの表示
@@ -46,10 +46,11 @@
<PackageReference Include="TerraFX.Interop.Windows" Version="10.0.22621.2" />
</ItemGroup>
<!-- Note: using SetPlatform="Platform=AnyCPU" for the analyzers to avoid issues (see https://github.com/dotnet/roslyn/issues/70148) -->
<ItemGroup>
<ProjectReference Include="..\..\src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
<ProjectReference Include="..\..\src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" SetPlatform="Platform=AnyCPU" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
<ProjectReference Include="..\..\src\ComputeSharp.Core\ComputeSharp.Core.csproj" />
<ProjectReference Include="..\..\src\ComputeSharp.D2D1.SourceGenerators\ComputeSharp.D2D1.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
<ProjectReference Include="..\..\src\ComputeSharp.D2D1.SourceGenerators\ComputeSharp.D2D1.SourceGenerators.csproj" SetPlatform="Platform=AnyCPU" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
<ProjectReference Include="..\..\src\ComputeSharp.D2D1.WinUI\ComputeSharp.D2D1.WinUI.csproj" />
<ProjectReference Include="..\..\src\ComputeSharp.D2D1\ComputeSharp.D2D1.csproj" />
</ItemGroup>