mirror of
https://github.com/actions/runner.git
synced 2025-12-12 15:13:30 +00:00
71 lines
5.1 KiB
XML
71 lines
5.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm;linux-arm64;rhel.6-x64;osx-x64</RuntimeIdentifiers>
|
|
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
|
|
<AssetTargetFallback>portable-net45+win8</AssetTargetFallback>
|
|
<NoWarn>NU1701;NU1603;NU1603;xUnit2013;</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Sdk\Sdk.csproj" />
|
|
<ProjectReference Include="..\Runner.Listener\Runner.Listener.csproj" />
|
|
<ProjectReference Include="..\Runner.Common\Runner.Common.csproj" />
|
|
<ProjectReference Include="..\Runner.Worker\Runner.Worker.csproj" />
|
|
<ProjectReference Include="..\Runner.Plugins\Runner.Plugins.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
|
|
<PackageReference Include="xunit" Version="2.4.1" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
|
<PackageReference Include="System.Buffers" Version="4.3.0" />
|
|
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.4.0" />
|
|
<PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" />
|
|
<PackageReference Include="Moq" Version="4.11.0" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true' AND '$(PackageRuntime)' == 'win-x64'">
|
|
<DefineConstants>OS_WINDOWS;X64;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true' AND '$(PackageRuntime)' == 'win-x86'">
|
|
<DefineConstants>OS_WINDOWS;X86;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true' AND '$(Configuration)' == 'Debug' AND '$(PackageRuntime)' == 'win-x64'">
|
|
<DefineConstants>OS_WINDOWS;X64;DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true' AND '$(Configuration)' == 'Debug' AND '$(PackageRuntime)' == 'win-x86'">
|
|
<DefineConstants>OS_WINDOWS;X86;DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">
|
|
<DefineConstants>OS_OSX;X64;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true' AND '$(Configuration)' == 'Debug'">
|
|
<DefineConstants>OS_OSX;DEBUG;X64;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true' AND '$(PackageRuntime)' == 'linux-x64'">
|
|
<DefineConstants>OS_LINUX;X64;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true' AND '$(PackageRuntime)' == 'rhel.6-x64'">
|
|
<DefineConstants>OS_LINUX;OS_RHEL6;X64;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true' AND '$(PackageRuntime)' == 'linux-arm'">
|
|
<DefineConstants>OS_LINUX;ARM;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true' AND '$(Configuration)' == 'Debug' AND '$(PackageRuntime)' == 'linux-x64'">
|
|
<DefineConstants>OS_LINUX;X64;DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true' AND '$(Configuration)' == 'Debug' AND '$(PackageRuntime)' == 'rhel.6-x64'">
|
|
<DefineConstants>OS_LINUX;OS_RHEL6;X64;DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true' AND '$(Configuration)' == 'Debug' AND '$(PackageRuntime)' == 'linux-arm'">
|
|
<DefineConstants>OS_LINUX;ARM;DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
</Project>
|