Skip to content

Commit 0c4e18f

Browse files
committed
Merge branch 'main' of github.com:dotnet/xharness into copilot/fix-1425
2 parents 3fa2c46 + fe850ca commit 0c4e18f

File tree

30 files changed

+335
-495
lines changed

30 files changed

+335
-495
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ xharness [platform] [command] [options]
6464

6565
### Build System
6666
- Use `./build.sh` (Linux/macOS) or `Build.cmd` (Windows) for proper SDK setup
67-
- Alternative: `dotnet build XHarness.sln` (requires correct .NET version)
67+
- Alternative: `dotnet build XHarness.slnx` (requires correct .NET version)
6868
- Integration with Arcade SDK for .NET Foundation build standards
6969
- Azure DevOps pipelines for CI/CD
7070

@@ -157,7 +157,7 @@ XHarness uses standardized exit codes (see `src/Microsoft.DotNet.XHarness.Common
157157
├── eng/ # Build and engineering files
158158
├── tools/ # Development tools and scripts
159159
├── azure-pipelines*.yml # CI/CD pipeline definitions
160-
├── XHarness.sln # Main solution file
160+
├── XHarness.slnx # Main solution file
161161
├── build.sh / Build.cmd # Build scripts
162162
└── README.md # Main documentation
163163
```

.github/workflows/backport.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Backport PR to branch
2+
on:
3+
issue_comment:
4+
types: [created]
5+
schedule:
6+
# once a day at 13:00 UTC to cleanup old runs
7+
- cron: '0 13 * * *'
8+
9+
permissions:
10+
contents: write
11+
issues: write
12+
pull-requests: write
13+
actions: write
14+
15+
jobs:
16+
backport:
17+
uses: dotnet/arcade/.github/workflows/backport-base.yml@main

.github/workflows/copilot-setup-steps.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ on:
1212
permissions:
1313
contents: read
1414

15-
env:
16-
# Allow Copilot to access Visual Studio assets URLs needed for NuGet restore
17-
COPILOT_AGENT_FIREWALL_ALLOW_LIST_ADDITIONS: "vsblob.vsassets.io"
18-
1915
jobs:
2016

2117
copilot-setup-steps:

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<PackageVersion Include="Mono.Options" Version="6.12.0.148" />
1919
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
2020
<PackageVersion Include="Selenium.WebDriver" Version="4.0.0-alpha05" />
21-
<PackageVersion Include="Microsoft.Tools.Mlaunch" Version="1.1.14" />
21+
<PackageVersion Include="Microsoft.Tools.Mlaunch" Version="1.1.72" />
2222
<PackageVersion Include="NUnit" Version="3.13.0" />
2323
<PackageVersion Include="NUnit.Engine" Version="3.13.0" />
2424
<PackageVersion Include="xunit.extensibility.execution" Version="$(XUnitVersion)" />

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ Currently we support **xunit v2**, **xunit v3**, and **NUnit** test assemblies b
152152
When working on XHarness, there are couple of neat hacks that can improve the inner loop.
153153
The repository can either be built using regular .NET, assuming you have new enough version:
154154
```
155-
dotnet build XHarness.sln
155+
dotnet build XHarness.slnx
156156
```
157157
or you can use the build scripts `build.sh` or `Build.cmd` in repository root which will install the correct .NET SDK into the `.dotnet` folder.
158158
You can then use
159159
```
160-
./.dotnet/dotnet build XHarness.sln
160+
./.dotnet/dotnet build XHarness.slnx
161161
```
162162

163163
You can also use Visual Studio 2019+ and just F5 the `Microsoft.DotNet.XHarness.CLI` project.

XHarness.sln

Lines changed: 0 additions & 290 deletions
This file was deleted.

XHarness.slnx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<Solution>
2+
<Folder Name="/Solution Items/">
3+
<File Path=".editorconfig" />
4+
<File Path="global.json" />
5+
</Folder>
6+
<Folder Name="/src/">
7+
<Project Path="src/Microsoft.DotNet.XHarness.Android/Microsoft.DotNet.XHarness.Android.csproj" />
8+
<Project Path="src/Microsoft.DotNet.XHarness.Apple/Microsoft.DotNet.XHarness.Apple.csproj" />
9+
<Project Path="src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj" />
10+
<Project Path="src/Microsoft.DotNet.XHarness.Common/Microsoft.DotNet.XHarness.Common.csproj" />
11+
<Project Path="src/Microsoft.DotNet.XHarness.InstrumentationBase.Xunit/Microsoft.DotNet.XHarness.DefaultAndroidEntryPoint.Xunit.csproj" />
12+
<Project Path="src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj" />
13+
<Project Path="src/Microsoft.DotNet.XHarness.TestRunners.Common/Microsoft.DotNet.XHarness.TestRunners.Common.csproj" />
14+
<Project Path="src/Microsoft.DotNet.XHarness.TestRunners.NUnit/Microsoft.DotNet.XHarness.TestRunners.NUnit.csproj" />
15+
<Project Path="src/Microsoft.DotNet.XHarness.TestRunners.Xunit/Microsoft.DotNet.XHarness.TestRunners.Xunit.csproj" />
16+
</Folder>
17+
<Folder Name="/tests/">
18+
<Project Path="tests/Microsoft.DotNet.XHarness.Android.Tests/Microsoft.DotNet.XHarness.Android.Tests.csproj" />
19+
<Project Path="tests/Microsoft.DotNet.XHarness.Apple.Tests/Microsoft.DotNet.XHarness.Apple.Tests.csproj" />
20+
<Project Path="tests/Microsoft.DotNet.XHarness.CLI.Tests/Microsoft.DotNet.XHarness.CLI.Tests.csproj" />
21+
<Project Path="tests/Microsoft.DotNet.XHarness.Common.Tests/Microsoft.DotNet.XHarness.Common.Tests.csproj" />
22+
<Project Path="tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests.csproj" />
23+
<Project Path="tests/Microsoft.DotNet.XHarness.TestRunners.Tests/Microsoft.DotNet.XHarness.TestRunners.Tests.csproj" />
24+
</Folder>
25+
</Solution>

azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,21 @@ extends:
4848
jobs:
4949
- job: Windows_NT
5050
displayName: Build Windows
51+
timeoutInMinutes: 120
5152
steps:
5253
- script: eng\common\CIBuild.cmd -configuration $(_BuildConfig) -prepareMachine $(_InternalBuildArgs) /p:Test=false
5354
name: Build
5455
displayName: Build
5556
condition: succeeded()
57+
58+
- template: /eng/pipelines/apiscan-steps.yml
5659
templateContext:
5760
outputs:
5861
- output: pipelineArtifact
5962
artifact: Artifacts_Windows_NT
6063
path: '$(Build.SourcesDirectory)\artifacts\bin\Microsoft.DotNet.XHarness.CLI'
6164
displayName: 'Publish Windows_NT Artifacts'
6265
condition: succeeded()
63-
6466
- template: /eng/common/templates-official/post-build/post-build.yml@self
6567
parameters:
6668
enableSymbolValidation: true

eng/Signing.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<FileSignInfo Include="mlaunch.dll" CertificateName="3PartySHA2" />
55
<FileSignInfo Include="Newtonsoft.Json.dll" CertificateName="3PartySHA2" />
66
<FileSignInfo Include="WebDriver.dll" CertificateName="3PartySHA2" />
7-
<FileSignInfo Include="Xamarin.Hosting.dll" CertificateName="3PartySHA2" />
87
<FileSignInfo Include="Xamarin.Localization.Mlaunch.dll" CertificateName="3PartySHA2" />
98
<FileSignInfo Include="Xamarin.Localization.Mlaunch.resources.dll" CertificateName="3PartySHA2" />
109
<FileSignInfo Include="Microsoft.macOS.dll" CertificateName="3PartySHA2" />

eng/Version.Details.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25320.5">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25374.4">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>066f0d1e5e1a59ce611e82f4a1146239d6253bd7</Sha>
8+
<Sha>e2fed65f9c524d12c64876194ae4ce177b935bb3</Sha>
99
</Dependency>
10-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="10.0.0-beta.25320.5">
10+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="10.0.0-beta.25374.4">
1111
<Uri>https://github.com/dotnet/arcade</Uri>
12-
<Sha>066f0d1e5e1a59ce611e82f4a1146239d6253bd7</Sha>
12+
<Sha>e2fed65f9c524d12c64876194ae4ce177b935bb3</Sha>
1313
</Dependency>
1414
</ToolsetDependencies>
1515
</Dependencies>

0 commit comments

Comments
 (0)