Skip to content

Commit f241025

Browse files
Make ILSpy.Tests.csproj look like the other two test projects wrt RID
1 parent 7598a43 commit f241025

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/build-ilspy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
name: test-results-${{ matrix.configuration }}
7373
path: |
7474
ICSharpCode.Decompiler.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
75-
ILSpy.Tests/bin/${{ matrix.configuration }}/net10.0-windows/TestResults/*.trx
75+
ILSpy.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
7676
ILSpy.BamlDecompiler.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
7777
7878
- name: Create Test Report
@@ -81,7 +81,7 @@ jobs:
8181
with:
8282
paths: |
8383
ICSharpCode.Decompiler.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
84-
ILSpy.Tests/bin/${{ matrix.configuration }}/net10.0-windows/TestResults/*.trx
84+
ILSpy.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
8585
ILSpy.BamlDecompiler.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
8686
folded: true
8787

ILSpy.Tests/ILSpy.Tests.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33

4+
<PropertyGroup>
5+
<IsWindowsX64 Condition="$([MSBuild]::IsOsPlatform('Windows')) And $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == X64">true</IsWindowsX64>
6+
<IsWindowsARM64 Condition="$([MSBuild]::IsOsPlatform('Windows')) And $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == ARM64">true</IsWindowsARM64>
7+
</PropertyGroup>
8+
49
<PropertyGroup>
510
<TargetFramework>net10.0-windows</TargetFramework>
611
<IsPackable>false</IsPackable>
7-
12+
<RuntimeIdentifier Condition="$(IsWindowsX64) == true">win-x64</RuntimeIdentifier>
13+
<RuntimeIdentifier Condition="$(IsWindowsARM64) == true">win-arm64</RuntimeIdentifier>
14+
815
<EnableNUnitRunner>true</EnableNUnitRunner>
916
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
1017
<OutputType>Exe</OutputType>

0 commit comments

Comments
 (0)