[main] Re-enable Source Build Tarball Build CI and disable all repo builds (#13605)

* re-enable tarball build in C

* remove all projects except SBRP from known-good

* disable smoke tests until more repos are building

Co-authored-by: Michael Simons <msimons@microsoft.com>
This commit is contained in:
Logan Bussell 2022-04-18 10:44:38 -07:00 committed by GitHub
parent d9dd8ba60e
commit ca04284533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 42 additions and 42 deletions

View file

@ -348,11 +348,10 @@ stages:
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-create-tarball.yml
# disable tarball build ci until 7.0 stabilizes
# - template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml
# parameters:
# dependsOn: Source_Build_Create_Tarball
# condition: eq(dependencies.Source_Build_Create_Tarball.outputs['Tarball_Build_Check._includeTarballBuild'], 'true')
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml
parameters:
dependsOn: Source_Build_Create_Tarball
condition: eq(dependencies.Source_Build_Create_Tarball.outputs['Tarball_Build_Check._includeTarballBuild'], 'true')
# https://github.com/dotnet/core-sdk/issues/248
# - template: /eng/build.yml

View file

@ -158,6 +158,8 @@ jobs:
fi
docker run --rm $dockerVolumeArgs -w /tarball $dockerEnvArgs $(_Container) ./build.sh $poisonArg --run-smoke-test $(additionalBuildArgs) -- /p:SmokeTestConsoleVerbosity=detailed
# Disable smoke tests until more repos are building.
condition: false
displayName: Run Tests
# Don't use CopyFiles@2 as it encounters permissions issues because it indexes all files in the source directory graph.

View file

@ -80,8 +80,7 @@ jobs:
# This prevents allocation of additional agents if the tarball build legs should be skipped.
# Only build the tarball if the PR touches source-build source.
- script: |
# Temporarily disable tarball PR validation until source-build is supported in this channel.
echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]false"
echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]true"
# if curl "https://api.github.com/repos/dotnet/installer/pulls/$(System.PullRequest.PullRequestNumber)/files" | grep '"filename": "src/SourceBuild/*'
# then

View file

@ -42,13 +42,13 @@ jobs:
_EnablePoison: false
_ExcludeOmniSharpTests: true
_RunOnline: true
CentOS7-Offline:
_BootstrapPrep: false
_Container: ${{ parameters.centOS7Container }}
_EnablePoison: false
_ExcludeOmniSharpTests: true
_RunOnline: false
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
CentOS7-Offline:
_BootstrapPrep: false
_Container: ${{ parameters.centOS7Container }}
_EnablePoison: false
_ExcludeOmniSharpTests: true
_RunOnline: false
CentOS8-Offline:
_BootstrapPrep: false
_Container: ${{ parameters.centOS8Container }}

View file

@ -1,6 +1,6 @@
{
"tools": {
"dotnet": "7.0.100-alpha.1.21518.14"
"dotnet": "7.0.100-preview.3.22179.4"
},
"msbuild-sdks": {
"Microsoft.Build.CentralPackageVersions": "2.0.1",

View file

@ -27,45 +27,45 @@
<ItemGroup>
<!-- Toolsets -->
<RepositoryReference Include="source-build-reference-packages" />
<RepositoryReference Include="sourcelink" />
<RepositoryReference Include="arcade" />
<!-- <RepositoryReference Include="sourcelink" /> -->
<!-- <RepositoryReference Include="arcade" /> -->
<!-- Tier 1 -->
<RepositoryReference Include="command-line-api" />
<RepositoryReference Include="diagnostics" />
<RepositoryReference Include="roslyn" />
<RepositoryReference Include="source-build" />
<RepositoryReference Include="symreader" />
<RepositoryReference Include="test-templates" />
<RepositoryReference Include="xdt" />
<RepositoryReference Include="xliff-tasks" />
<!-- <RepositoryReference Include="command-line-api" /> -->
<!-- <RepositoryReference Include="diagnostics" /> -->
<!-- <RepositoryReference Include="roslyn" /> -->
<!-- <RepositoryReference Include="source-build" /> -->
<!-- <RepositoryReference Include="symreader" /> -->
<!-- <RepositoryReference Include="test-templates" /> -->
<!-- <RepositoryReference Include="xdt" /> -->
<!-- <RepositoryReference Include="xliff-tasks" /> -->
<!-- Tier 2 -->
<RepositoryReference Include="linker" />
<RepositoryReference Include="msbuild" />
<RepositoryReference Include="runtime-portable" />
<RepositoryReference Include="runtime" />
<RepositoryReference Include="templating" />
<!-- <RepositoryReference Include="linker" /> -->
<!-- <RepositoryReference Include="msbuild" /> -->
<!-- <RepositoryReference Include="runtime-portable" /> -->
<!-- <RepositoryReference Include="runtime" /> -->
<!-- <RepositoryReference Include="templating" /> -->
<!-- Tier 3 -->
<RepositoryReference Include="roslyn-analyzers" />
<!-- <RepositoryReference Include="roslyn-analyzers" /> -->
<!-- Tier 4 -->
<RepositoryReference Include="aspnetcore" />
<RepositoryReference Include="deployment-tools" />
<RepositoryReference Include="format" />
<RepositoryReference Include="nuget-client" />
<!-- <RepositoryReference Include="aspnetcore" /> -->
<!-- <RepositoryReference Include="deployment-tools" /> -->
<!-- <RepositoryReference Include="format" /> -->
<!-- <RepositoryReference Include="nuget-client" /> -->
<!-- Tier 5 -->
<RepositoryReference Include="fsharp" />
<RepositoryReference Include="sdk" />
<RepositoryReference Include="vstest" />
<!-- <RepositoryReference Include="fsharp" /> -->
<!-- <RepositoryReference Include="sdk" /> -->
<!-- <RepositoryReference Include="vstest" /> -->
<!-- Tier 6 -->
<RepositoryReference Include="installer" />
<!-- <RepositoryReference Include="installer" /> -->
<!-- Package source-build artifacts -->
<RepositoryReference Include="package-source-build" />
<!-- <RepositoryReference Include="package-source-build" /> -->
</ItemGroup>
</Otherwise>
</Choose>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputPath>$(LeakDetectionTasksBinDir)</OutputPath>
</PropertyGroup>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<OutputPath>$(XPlatTasksBinDir)</OutputPath>
</PropertyGroup>