Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Commit 55bcbc0

Browse files
authored
Update build pipeline to remove obsoletes (#2042)
* Update build.cake * Update Tests.csproj * Update build.cake * Updates * Back to square 1 * Update azure-pipelines.yml * Update azure-pipelines.yml * Update build.cake
1 parent e054b7e commit 55bcbc0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

DeviceTests/DeviceTests.Shared/DeviceTests.Shared.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
<PackageReference Include="xunit" Version="2.4.1" />
2828
<PackageReference Include="xunit.runner.devices" Version="2.5.25" />
2929
<PackageReference Include="UnitTests.HeadlessRunner" Version="2.0.0" />
30-
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
3130
<ProjectReference Include="..\..\Xamarin.Essentials\Xamarin.Essentials.csproj" />
3231
</ItemGroup>
3332
<ItemGroup Condition=" $(TargetFramework.StartsWith('uap10.0')) ">

azure-pipelines.yml

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ stages:
3434
jobs:
3535
- template: .ci/build.v1.yml@components
3636
parameters:
37+
dotnet: '3.1.415'
38+
dotnetStable: '3.1.415'
3739
${{ if eq(variables['System.TeamProject'], 'devdiv') }}: # The AzurePipelines-EO pool is only available in DevDiv
3840
windowsAgentPoolName: AzurePipelines-EO
3941
windowsImage: '' # Override the 'windows-latest' default settings

build.cake

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ Task("tests")
4747

4848
foreach (var csproj in GetFiles("./Tests/**/*.csproj")) {
4949
try {
50-
DotNetCoreTest(csproj.FullPath, new DotNetCoreTestSettings {
50+
DotNetTest(csproj.FullPath, new DotNetTestSettings {
5151
Configuration = "Release",
52-
Logger = $"trx;LogFileName={csproj.GetFilenameWithoutExtension()}.trx",
52+
Loggers = new [] { $"trx;LogFileName={csproj.GetFilenameWithoutExtension()}.trx" },
5353
EnvironmentVariables = new Dictionary<string, string> {
5454
{ "RestoreConfigFile", RESTORE_CONFIG }
5555
}

0 commit comments

Comments
 (0)