Run NativeAOT CLI integration test in CI

このコミットが含まれているのは:
Sergio Pedri committed 2022-11-24 20:03:18 +01:00
1 親 d2dc980669
コミット 25c0c8aaba
1ファイル変更
+8
+8
ファイルの表示
@@ -141,6 +141,14 @@ jobs:
- 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
- if: matrix.framework == 'net7.0'
name: Run ComputeSharp.SwapChain.Cli
run: >
$process = (Start-Process samples\ComputeSharp.SwapChain.Cli\bin\Release\net7.0\win-x64\publish\computesharp.cli.exe -PassThru);
sleep -Seconds 2;
$process.CloseMainWindow() | Out-Null;
$process.WaitForExit();
$process.ExitCode
- if: matrix.framework == 'net7.0'
name: Upload NativeAOT CLI sample
uses: actions/upload-artifact@v3