</Dependency>
</ProductDependencies>
<ToolsetDependencies>
- <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24306.4">
+ <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24314.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>7507f80c8db285bbc9939c1dff522a761cf4edc0</Sha>
+ <Sha>92a725aa4d9d6c13dc5229597b51b0b165b8b535</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
- <Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24306.4">
+ <Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24314.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>7507f80c8db285bbc9939c1dff522a761cf4edc0</Sha>
+ <Sha>92a725aa4d9d6c13dc5229597b51b0b165b8b535</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
- <Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="9.0.0-beta.24306.4">
+ <Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="9.0.0-beta.24314.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>7507f80c8db285bbc9939c1dff522a761cf4edc0</Sha>
+ <Sha>92a725aa4d9d6c13dc5229597b51b0b165b8b535</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="7.0.0-beta.22316.2" Pinned="true">
<Uri>https://github.com/dotnet/arcade</Uri>
<SystemTextEncodingsWebVersion>6.0.0</SystemTextEncodingsWebVersion>
<SystemTextJsonVersion>6.0.8</SystemTextJsonVersion>
<XUnitAbstractionsVersion>2.0.3</XUnitAbstractionsVersion>
- <MicrosoftDotNetCodeAnalysisVersion>9.0.0-beta.24306.4</MicrosoftDotNetCodeAnalysisVersion>
+ <MicrosoftDotNetCodeAnalysisVersion>9.0.0-beta.24314.1</MicrosoftDotNetCodeAnalysisVersion>
<StyleCopAnalyzersVersion>1.2.0-beta.406</StyleCopAnalyzersVersion>
<MicrosoftDotNetRemoteExecutorVersion>7.0.0-beta.22316.2</MicrosoftDotNetRemoteExecutorVersion>
<cdbsosversion>10.0.18362</cdbsosversion>
__Keyring=
__SkipSigCheck=0
__UseMirror=0
+__UseDeb822Format=0
__UnprocessedBuildArgs=
while :; do
__AlpinePackages="${__AlpinePackages// lldb-dev/}"
__QEMUArch=riscv64
__UbuntuArch=riscv64
- __UbuntuRepo="http://deb.debian.org/debian"
__UbuntuPackages="${__UbuntuPackages// libunwind8-dev/}"
unset __LLDB_Package
__CodeName=jammy
fi
;;
+ noble) # Ubuntu 24.04
+ if [[ "$__CodeName" != "jessie" ]]; then
+ __CodeName=noble
+ fi
+ __UseDeb822Format=1
+ ;;
jessie) # Debian 8
__CodeName=jessie
fi
# shellcheck disable=SC2086
+ echo running debootstrap "--variant=minbase" $__Keyring --arch "$__UbuntuArch" "$__CodeName" "$__RootfsDir" "$__UbuntuRepo"
debootstrap "--variant=minbase" $__Keyring --arch "$__UbuntuArch" "$__CodeName" "$__RootfsDir" "$__UbuntuRepo"
- cp "$__CrossDir/$__BuildArch/sources.list.$__CodeName" "$__RootfsDir/etc/apt/sources.list"
+ mkdir -p "$__RootfsDir/etc/apt/sources.list.d/"
+ grep -q "Types:" "$__CrossDir/$__BuildArch/sources.list.$__CodeName" && filename="$__CodeName.sources" || filename="$__CodeName.list"
+ cp "$__CrossDir/$__BuildArch/sources.list.$__CodeName" "$__RootfsDir/etc/apt/sources.list.d/$filename"
chroot "$__RootfsDir" apt-get update
chroot "$__RootfsDir" apt-get -f -y install
# shellcheck disable=SC2086
--- /dev/null
+Types: deb
+URIs: http://ports.ubuntu.com/ubuntu-ports/
+Suites: noble noble-updates noble-backports
+Components: main universe restricted multiverse
+Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
+
+Types: deb
+URIs: http://ports.ubuntu.com/ubuntu-ports/
+Suites: noble-security
+Components: main universe restricted multiverse
+Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
[Parameter(Mandatory=$true)][string] $PackagesPath # Path to where the packages to be validated are
)
+# `tools.ps1` checks $ci to perform some actions. Since the post-build
+# scripts don't necessarily execute in the same agent that run the
+# build.ps1/sh script this variable isn't automatically set.
+$ci = $true
+$disableConfigureToolsetImport = $true
+. $PSScriptRoot\..\tools.ps1
+
try {
& $PSScriptRoot\nuget-verification.ps1 ${PackagesPath}\*.nupkg
}
--azdev-pat $AzdoToken `
--bar-uri $MaestroApiEndPoint `
--password $MaestroToken `
- --disable-interactive-auth `
+ --ci `
@optionalParams
if ($LastExitCode -ne 0) {
$env:NUGET_PACKAGES = Join-Path $env:UserProfile '.nuget\packages\'
} else {
$env:NUGET_PACKAGES = Join-Path $RepoRoot '.packages\'
- $env:RESTORENOCACHE = $true
+ $env:RESTORENOHTTPCACHE = $true
}
}
fi
}
-# Set RestoreNoCache as a workaround for https://github.com/NuGet/Home/issues/3116
+# Set RestoreNoHttpCache as a workaround for https://github.com/NuGet/Home/issues/3116
function GetNuGetPackageCachePath {
if [[ -z ${NUGET_PACKAGES:-} ]]; then
if [[ "$use_global_nuget_cache" == true ]]; then
- export NUGET_PACKAGES="$HOME/.nuget/packages"
+ export NUGET_PACKAGES="$HOME/.nuget/packages/"
else
- export NUGET_PACKAGES="$repo_root/.packages"
- export RESTORENOCACHE=true
+ export NUGET_PACKAGES="$repo_root/.packages/"
+ export RESTORENOHTTPCACHE=true
fi
fi
{
"tools": {
- "dotnet": "9.0.100-preview.4.24267.66",
+ "dotnet": "9.0.100-preview.5.24307.3",
"runtimes": {
"dotnet": [
"$(MicrosoftNETCoreApp60Version)",
},
"msbuild-sdks": {
"Microsoft.Build.NoTargets": "3.5.0",
- "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24306.4"
+ "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24314.1"
}
}
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Threading;
+using System.Threading.Tasks;
using EventPipe.UnitTests.Common;
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Diagnostics.Tracing;
}
[Fact]
- public async void Contention_ProducesEvents()
+ public async Task Contention_ProducesEvents()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> _expectedEventCounts = new()
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
+using System.Threading.Tasks;
using EventPipe.UnitTests.Common;
using Microsoft.Diagnostics.NETCore.Client;
using Xunit;
}
[Fact]
- public async void CustomEventProducesEventsWithNoKeywords()
+ public async Task CustomEventProducesEventsWithNoKeywords()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> _expectedEventCounts = new()
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Runtime.InteropServices;
+using System.Threading.Tasks;
using EventPipe.UnitTests.Common;
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Diagnostics.Tracing;
}
[Fact]
- public async void GCCollect_ProducesEvents()
+ public async Task GCCollect_ProducesEvents()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> _expectedEventCounts = new()
}
[Fact]
- public async void GCWaitForPendingFinalizers_ProducesEvents()
+ public async Task GCWaitForPendingFinalizers_ProducesEvents()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> _expectedEventCounts = new()
}
[Fact]
- public async void GCCollect_ProducesVerboseEvents()
+ public async Task GCCollect_ProducesVerboseEvents()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> _expectedEventCounts = new()
using System.Reflection;
using System.Runtime.Loader;
using System.Threading;
+using System.Threading.Tasks;
using EventPipe.UnitTests.Common;
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Diagnostics.Tracing;
}
[Fact]
- public async void AssemblyLoad_ProducesEvents()
+ public async Task AssemblyLoad_ProducesEvents()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> _expectedEventCounts = new()
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Threading;
+using System.Threading.Tasks;
using EventPipe.UnitTests.Common;
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Diagnostics.Tracing;
}
[Fact]
- public async void MethodVerbose_ProducesEvents()
+ public async Task MethodVerbose_ProducesEvents()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> _expectedEventCounts = new()
}
[Fact]
- public async void ThreadPool_ProducesEvents()
+ public async Task ThreadPool_ProducesEvents()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> _expectedEventCounts = new()
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
+using System.Threading.Tasks;
using EventPipe.UnitTests.Common;
using Microsoft.Diagnostics.NETCore.Client;
using Xunit;
}
[Fact]
- public async void UserDefinedEventSource_ProducesEvents()
+ public async Task UserDefinedEventSource_ProducesEvents()
{
await RemoteTestExecutorHelper.RunTestCaseAsync(() => {
Dictionary<string, ExpectedEventCount> expectedEventCounts = new()