Skip to content

Commit 5326a6b

Browse files
Add s390x support to the runtimearchitecture list (#52722)
1 parent bf56300 commit 5326a6b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Hosting/Server.IntegrationTesting/src/Common/RuntimeArchitecture.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ public enum RuntimeArchitecture
88
arm64,
99
x64,
1010
x86,
11-
ppc64le //Power Architecture
11+
ppc64le, //Power Architecture
12+
s390x
1213
}

src/Hosting/Server.IntegrationTesting/src/Common/RuntimeArchitectures.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public static RuntimeArchitecture Current
1717
Architecture.X64 => RuntimeArchitecture.x64,
1818
Architecture.X86 => RuntimeArchitecture.x86,
1919
Architecture.Ppc64le => RuntimeArchitecture.ppc64le,
20+
Architecture.S390x => RuntimeArchitecture.s390x,
2021
_ => throw new NotImplementedException($"Unknown RuntimeInformation.OSArchitecture: {RuntimeInformation.OSArchitecture.ToString()}"),
2122
};
2223
}

0 commit comments

Comments
 (0)