Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Helix.Common.props « targets « eng - github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 46e965c10a2f3417c7d9a267aa999227d7e1cd6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<Project>
  <!-- This file is shared between Helix.proj and .csproj files. -->
  <PropertyGroup>
    <HelixQueueAlpine314>(Alpine.314.Amd64.Open)Ubuntu.2004.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64</HelixQueueAlpine314>
    <HelixQueueDebian11>(Debian.11.Amd64.Open)Ubuntu.2004.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-amd64</HelixQueueDebian11>
    <HelixQueueFedora34>(Fedora.34.Amd64.Open)Ubuntu.2004.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-34-helix</HelixQueueFedora34>
    <HelixQueueMariner>(Mariner)Ubuntu.2004.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix</HelixQueueMariner>
    <HelixQueueArmDebian11>(Debian.11.Arm64.Open)ubuntu.2004.armarch.open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-arm64v8</HelixQueueArmDebian11>

    <!-- Do not attempt to override global property. -->
    <RunQuarantinedTests Condition=" '$(RunQuarantinedTests)' == '' ">false</RunQuarantinedTests>
  </PropertyGroup>

  <ItemGroup>
    <HelixAvailablePlatform Include="Windows" />
    <HelixAvailablePlatform Include="OSX" />
    <HelixAvailablePlatform Include="Linux" />
  </ItemGroup>

  <!--
    Usually do not need to check $(_UseHelixOpenQueues), $(RunQuarantinedTests) or $(IsWindowsOnlyTest).
    $(_UseHelixOpenQueues) handling in helix.proj and Helix.targets is sufficient. We have no quarantined queues
    at the moment. And, most Windows-specific checks are handled using @(HelixAvailablePlatform) in Helix.props.
  -->
  <Choose>
    <When Condition=" '$(IsHelixPRCheck)' == 'true' ">
      <!-- aspnetcore-ci[-official] (ci.yml) -->
      <!-- aspnetcore-quarantined-pr (quarantined-pr.yml) -->
      <ItemGroup>
        <HelixAvailableTargetQueue Include="Ubuntu.2004.Amd64.Open" Platform="Linux" />
        <HelixAvailableTargetQueue Include="OSX.1100.Amd64.Open" Platform="OSX" />
        <HelixAvailableTargetQueue Include="Windows.11.Amd64.Client.Open" Platform="Windows" />
      </ItemGroup>
    </When>
    <Otherwise>
      <!-- aspnetcore-helix-matrix[-internal] (helix-matrix.yml) and RunHelix.ps1 -->
      <!-- aspnetcore-quarantined-tests (quarantined-tests.yml) and RunHelix.ps1 -RunQuarantinedTests -->
      <ItemGroup>
        <!-- Linux -->
        <HelixAvailableTargetQueue Include="Redhat.7.Amd64.Open" Platform="Linux" />

        <!-- Containers -->
        <HelixAvailableTargetQueue Include="$(HelixQueueAlpine314)" Platform="Linux" />
        <HelixAvailableTargetQueue Include="$(HelixQueueDebian11)" Platform="Linux" />
        <HelixAvailableTargetQueue Include="$(HelixQueueFedora34)" Platform="Linux" />
        <HelixAvailableTargetQueue Include="$(HelixQueueMariner)" Platform="Linux" />
        <HelixAvailableTargetQueue Include="$(HelixQueueArmDebian11)" Platform="Linux" />

        <!-- Mac -->
        <HelixAvailableTargetQueue Include="OSX.1015.Amd64.Open" Platform="OSX" />

        <!-- Windows -->
        <HelixAvailableTargetQueue Include="Windows.Amd64.Server2022.Open" Platform="Windows" />

        <!-- IIS Express isn't supported on arm64 and most of the IsWindowsOnlyTests depend on its setup scripts. -->
        <HelixAvailableTargetQueue Include="windows.11.arm64.open" Platform="Windows"
            Condition=" '$(IsWindowsOnlyTest)' != 'true' "/>
      </ItemGroup>
    </Otherwise>
  </Choose>

  <Choose>
    <When Condition=" '$(HelixTargetQueue)' == '' ">
      <PropertyGroup>
        <IsArm64HelixQueue>false</IsArm64HelixQueue>
        <IsWindowsHelixQueue>false</IsWindowsHelixQueue>
        <IsMacHelixQueue>false</IsMacHelixQueue>
      </PropertyGroup>
    </When>
    <Otherwise>
      <PropertyGroup>
        <IsArm64HelixQueue>$(HelixTargetQueue.ToUpperInvariant().Contains('ARM64'))</IsArm64HelixQueue>
        <IsWindowsHelixQueue>$(HelixTargetQueue.ToUpperInvariant().Contains('WINDOWS'))</IsWindowsHelixQueue>
        <IsMacHelixQueue>$(HelixTargetQueue.ToUpperInvariant().Contains('OSX'))</IsMacHelixQueue>
      </PropertyGroup>
    </Otherwise>
  </Choose>
</Project>