Desktop foundation / core (ubuntu-latest) (push) Failing after 28s
Desktop foundation / core (macos-latest) (push) Canceled after 0s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
Linux / verify (push) Canceled after 0s
Linux / keyless-cuda (push) Canceled after 0s
Linux / static-cuda-package (push) Canceled after 0s
Linux / hosted-cuda-package (push) Canceled after 0s
Linux / linux-static-cli (push) Canceled after 0s
Linux / linux-cli-container (push) Canceled after 0s
Linux / release-cli (push) Canceled after 0s
33 lines
1.8 KiB
XML
33 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
|
<UseSharedCompilation>false</UseSharedCompilation>
|
|
<CoreName Condition="'$(OS)' == 'Windows_NT'">strata-desktop.exe</CoreName>
|
|
<CoreName Condition="'$(OS)' != 'Windows_NT'">strata-desktop</CoreName>
|
|
<CorePath>../desktop-core/target/debug/$(CoreName)</CorePath>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Protobuf Include="../desktop-core/proto/node.proto" GrpcServices="Client" Link="Protos/node.proto" />
|
|
<None Include="$(CorePath)" Link="$(CoreName)" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia.Desktop" Version="12.1.3" />
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="12.1.3" />
|
|
<None Include="../desktop-core/examples/requirements.json" Link="example-requirements.json" CopyToOutputDirectory="PreserveNewest" />
|
|
<PackageReference Include="Google.Protobuf" Version="3.36.2" />
|
|
<PackageReference Include="Grpc.Net.Client" Version="2.84.0" />
|
|
<PackageReference Include="Grpc.Tools" Version="2.84.0">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<Target Name="CopyRustCore" AfterTargets="Build">
|
|
<Error Condition="!Exists('$(CorePath)')" Text="Build the Rust helper first: cargo build --manifest-path desktop-core/Cargo.toml" />
|
|
<Copy SourceFiles="$(CorePath)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true" />
|
|
</Target>
|
|
</Project>
|