1) Update to 2.1.503 SDK/2.1.7 runtime.
2) Test against 2.2 instead of 2.0
3) Push test logs on public ci
(work originally mikem, I just split his mega-commit so history would be a little more understandable)
## Build Status
-[](https://dnceng.visualstudio.com/public/_build/latest?definitionId=72&branchName=master)
+[](https://dnceng.visualstudio.com/public/_build/latest?definitionId=72&branchName=master)
[//]: # (End current test results)
echo %__MsgPrefix%Assertion failed: dotnet cli not found at path "%__DotNetCli%"
exit /b 1
)
-set __MSBuildPath=%__ProjectDir%\.dotnet\sdk\2.1.401\MSBuild.dll
+set __MSBuildPath=%__ProjectDir%\.dotnet\sdk\2.1.503\MSBuild.dll
if not exist "%__MSBuildPath%" (
echo %__MsgPrefix%Assertion failed: dotnet cli sdk not found at path "%__MSBuildPath%"
exit /b 1
)
-set __DotNetRuntimeVersion=2.1.3
+set __DotNetRuntimeVersion=2.1.7
REM =========================================================================================
REM ===
<MicrosoftWin32PrimitivesVersion>4.3.0</MicrosoftWin32PrimitivesVersion>
<!-- Other libs -->
- <MicrosoftSymbolStoreVersion>1.0.0-dev-63604-01</MicrosoftSymbolStoreVersion>
+ <MicrosoftSymbolStoreVersion>1.0.0-dev-63716-01</MicrosoftSymbolStoreVersion>
</PropertyGroup>
<PropertyGroup>
__PackagesBinDir=$__RootBinDir/packages/$__BuildType/Shipping
__ExtraCmakeArgs="-DCLR_MANAGED_BINARY_DIR=$__RootBinDir/bin -DCLR_BUILD_TYPE=$__BuildType"
__DotNetCli=$__ProjectRoot/.dotnet/dotnet
-__MSBuildPath=$__ProjectRoot/.dotnet/sdk/2.1.401/MSBuild.dll
-__DotNetRuntimeVersion=2.1.3
+__MSBuildPath=$__ProjectRoot/.dotnet/sdk/2.1.503/MSBuild.dll
+__DotNetRuntimeVersion=2.1.7
if [ ! -e $__DotNetCli ]; then
echo "dotnet cli not installed $__DotNetCli"
artifactName: $(_PhaseName)_$(Agent.JobName)
condition: and(succeeded(), ne(variables['_PublishArtifacts'], ''))
- - task: CopyFiles@2
- displayName: Gather Build Logs
- inputs:
- sourceFolder: '$(Build.SourcesDirectory)/artifacts'
- contents: '?(log|TestResults)/**'
- targetFolder: '$(Build.StagingDirectory)/BuildLogs'
- continueOnError: true
- condition: always()
+ - task: CopyFiles@2
+ displayName: Gather Build Logs
+ inputs:
+ sourceFolder: '$(Build.SourcesDirectory)/artifacts'
+ contents: '?(log|TestResults)/**'
+ targetFolder: '$(Build.StagingDirectory)/BuildLogs'
+ continueOnError: true
+ condition: always()
- - task: PublishBuildArtifacts@1
- displayName: Publish Logs to VSTS
- inputs:
- PathtoPublish: '$(Build.StagingDirectory)/BuildLogs'
- PublishLocation: Container
- ArtifactName: Logs_$(_PhaseName)_$(Agent.JobName)
- continueOnError: true
- condition: always()
+ - task: PublishBuildArtifacts@1
+ displayName: Publish Logs to VSTS
+ inputs:
+ PathtoPublish: '$(Build.StagingDirectory)/BuildLogs'
+ PublishLocation: Container
+ ArtifactName: Logs_$(_PhaseName)_$(Agent.JobName)
+ continueOnError: true
+ condition: always()
Set-StrictMode -Version Latest
$ErrorActionPreference="Stop"
-$RuntimeVersion11="1.1.9"
-$RuntimeVersion20="2.0.9"
+$RuntimeVersion11="1.1.10"
+$RuntimeVersion22="2.2.1"
$DailyTestText="true"
-# Install the other versions of .NET Core runtime we are going to test. 1.1.x, 2.0.x, 2.1.x (installed with the CLI)
+# Install the other versions of .NET Core runtime we are going to test. 1.1.x, 2.1.x (installed with the CLI), 2.2.x
# and latest. Only install the latest master for daily jobs and leave the RuntimeVersion* config properties blank.
if (!$DailyTest) {
$DailyTestText="false"
. $DotNetDir\dotnet-install.ps1 -Version $RuntimeVersion11 -Architecture $BuildArch -SkipNonVersionedFiles -Runtime dotnet -InstallDir $DotNetDir
- . $DotNetDir\dotnet-install.ps1 -Version $RuntimeVersion20 -Architecture $BuildArch -SkipNonVersionedFiles -Runtime dotnet -InstallDir $DotNetDir
+ . $DotNetDir\dotnet-install.ps1 -Version $RuntimeVersion22 -Architecture $BuildArch -SkipNonVersionedFiles -Runtime dotnet -InstallDir $DotNetDir
}
. $DotNetDir\dotnet-install.ps1 -Channel $Branch -Version latest -Architecture $BuildArch -SkipNonVersionedFiles -Runtime dotnet -InstallDir $DotNetDir
'<Configuration>
<DailyTest>' + $DailyTestText +'</DailyTest>
<RuntimeVersion11>' + $RuntimeVersion11 + '</RuntimeVersion11>
-<RuntimeVersion20>' + $RuntimeVersion20 + '</RuntimeVersion20>
<RuntimeVersion21>' + $RuntimeVersion21 + '</RuntimeVersion21>
+<RuntimeVersion22>' + $RuntimeVersion22 + '</RuntimeVersion22>
<RuntimeVersionLatest>' + $RuntimeVersionLatest + '</RuntimeVersionLatest>
</Configuration>' | Set-Content $ConfigFile
branch="master"
uncached_feed="https://dotnetcli.blob.core.windows.net/dotnet"
-runtime_version_11="1.1.9"
-runtime_version_20="2.0.9"
+runtime_version_11="1.1.10"
+runtime_version_22="2.2.1"
runtime_version_21=
while [ $# -ne 0 ]; do
daily_test_text="true"
-# Install the other versions of .NET Core runtime we are going to test. 1.1.x, 2.0.x, 2.1.x (installed with the CLI)
+# Install the other versions of .NET Core runtime we are going to test. 1.1.x, 2.1.x (installed with the CLI), 2.2.x
# and latest. Only install the latest master for daily jobs and leave the RuntimeVersion* config properties blank.
if [ $daily_test == 0 ]; then
daily_test_text="false"
bash "$dotnet_dir/dotnet-install.sh" --version "$runtime_version_11" --architecture "$build_arch" --skip-non-versioned-files --runtime dotnet --install-dir "$dotnet_dir"
- bash "$dotnet_dir/dotnet-install.sh" --version "$runtime_version_20" --architecture "$build_arch" --skip-non-versioned-files --runtime dotnet --install-dir "$dotnet_dir"
+ bash "$dotnet_dir/dotnet-install.sh" --version "$runtime_version_22" --architecture "$build_arch" --skip-non-versioned-files --runtime dotnet --install-dir "$dotnet_dir"
fi
bash "$dotnet_dir/dotnet-install.sh" --channel $branch --version latest --architecture "$build_arch" --skip-non-versioned-files --runtime dotnet --install-dir "$dotnet_dir"
echo "<Configuration>
<DailyTest>$daily_test_text</DailyTest>
<RuntimeVersion11>$runtime_version_11</RuntimeVersion11>
-<RuntimeVersion20>$runtime_version_20</RuntimeVersion20>
<RuntimeVersion21>$runtime_version_21</RuntimeVersion21>
+<RuntimeVersion22>$runtime_version_22</RuntimeVersion22>
<RuntimeVersionLatest>$runtime_version_latest</RuntimeVersionLatest>
</Configuration>" > $config_file
{
"tools": {
- "dotnet": "2.1.401"
+ "dotnet": "2.1.503"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.18516.5"
<PropertyGroup>
<LangVersion>Latest</LangVersion>
- <!--
- Tools and packages produced by this repository support infrastructure and are not shipping on NuGet or via any other official channel.
- -->
- <IsShipping>false</IsShipping>
+ <IsShipping>true</IsShipping>
<NoPackageAnalysis>true</NoPackageAnalysis>
</PropertyGroup>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
</PropertyGroup>
- <PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
+ <PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DebugType>full</DebugType>
</PropertyGroup>
- <PropertyGroup Condition="'$(TargetFramework)' != 'net45'">
+ <PropertyGroup Condition="'$(TargetFramework)' != 'net461'">
<DebugType>portable</DebugType>
</PropertyGroup>
</Project>