Remove NativeAOT from solution build configuration
このコミットが含まれているのは:
1 親
bc26550bd0
コミット
fbe7bf1f81
2ファイル変更
+11
-3
検索条件に一致するファイルはありません
@@ -142,7 +142,9 @@ jobs:
|
||||
# Also publish the NativeAOT test when .NET 7 is used
|
||||
- if: matrix.framework == 'net7.0'
|
||||
name: Publish ComputeSharp.SwapChain.Cli with NativeAOT
|
||||
run: dotnet publish samples\ComputeSharp.SwapChain.Cli\ComputeSharp.SwapChain.Cli.csproj -c Release -f net7.0 -r win-x64 -v n
|
||||
run: >
|
||||
$env:COMPUTESHARP_SWAPCHAIN_CLI_PUBLISH_AOT='true';
|
||||
dotnet publish samples\ComputeSharp.SwapChain.Cli\ComputeSharp.SwapChain.Cli.csproj -c Release -f net7.0 -r win-x64 -v n
|
||||
- if: matrix.framework == 'net7.0'
|
||||
name: Run ComputeSharp.SwapChain.Cli
|
||||
run: >
|
||||
|
||||
@@ -17,8 +17,14 @@
|
||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- NativeAOT settings -->
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||
<!--
|
||||
NativeAOT settings (NativeAOT publishing + reflection-free mode).
|
||||
Note: the COMPUTESHARP_SWAPCHAIN_CLI_PUBLISH_AOT environment variable is used to trigger
|
||||
publishing with NativeAOT so that this project won't cause build errors in the CI. This is
|
||||
because NativeAOT doesn't support cross-compiling, but the CI will also build the solution
|
||||
targeting Arm64, from a VM running on x64, which would then fail due to mismatched RIDs.
|
||||
-->
|
||||
<PropertyGroup Condition="'$(COMPUTESHARP_SWAPCHAIN_CLI_PUBLISH_AOT)' == 'true'">
|
||||
<PublishAot>true</PublishAot>
|
||||
<UseSystemResourceKeys>true</UseSystemResourceKeys>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする