Change CLI sample to be a WinExe
このコミットが含まれているのは:
1 親
25c0c8aaba
コミット
bc26550bd0
3ファイル変更
+11
-1
検索条件に一致するファイルはありません
@@ -121,6 +121,8 @@ jobs:
|
||||
matrix:
|
||||
framework: [net7.0, net6.0, netcoreapp3.1, net472]
|
||||
runs-on: windows-2022
|
||||
env:
|
||||
CI_RUNNER_SAMPLES_INTEGRATION_TESTS: true
|
||||
steps:
|
||||
- name: Git checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
|
||||
<!--
|
||||
When running in the CI, set the executable type to be 'Exe', so that a console will
|
||||
be available and the PowerShell test script will be able to await the published app.
|
||||
When not in the CI, use 'WinExe' instead so that the render window will open directly.
|
||||
-->
|
||||
<OutputType Condition="'$(CI_RUNNER_SAMPLES_INTEGRATION_TESTS)' == 'true'">Exe</OutputType>
|
||||
<OutputType Condition="'$(CI_RUNNER_SAMPLES_INTEGRATION_TESTS)' != 'true'">WinExe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<DefineConstants>$(DefineConstants);SAMPLE_APP</DefineConstants>
|
||||
|
||||
@@ -287,6 +287,7 @@ internal sealed class SwapChainApplication<T> : Win32Application
|
||||
|
||||
// Execute the command list to perform the copy
|
||||
this.d3D12CommandQueue.Get()->ExecuteCommandLists(1, (ID3D12CommandList**)this.d3D12GraphicsCommandList.GetAddressOf());
|
||||
|
||||
_ = this.d3D12CommandQueue.Get()->Signal(this.d3D12Fence.Get(), this.nextD3D12FenceValue);
|
||||
|
||||
// Present the new frame
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする