Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-09-12 20:20:56 +0300
committerGitHub <noreply@github.com>2022-09-12 20:20:56 +0300
commitcd483c16cc23b99c303c83f73c69a8fcde99abf6 (patch)
treeb6746a8aeec4233c3d0178aa95522420bf501df6 /src
parent5ef381644da869424207ec0e0e5b603756907a35 (diff)
Add RIDs for macOS 13; update test (#75428)
Co-authored-by: Filip Navara <navara@emclient.com>
Diffstat (limited to 'src')
-rw-r--r--src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json72
-rw-r--r--src/libraries/Microsoft.NETCore.Platforms/src/runtime.json17
-rw-r--r--src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props2
-rw-r--r--src/libraries/Microsoft.NETCore.Platforms/tests/GenerateRuntimeGraphTests.cs11
4 files changed, 96 insertions, 6 deletions
diff --git a/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json b/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json
index 5a39f5d7450..c0fddc3e86d 100644
--- a/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json
+++ b/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json
@@ -6040,6 +6040,78 @@
"any",
"base"
],
+ "osx.13": [
+ "osx.13",
+ "osx.12",
+ "osx.11.0",
+ "osx.10.16",
+ "osx.10.15",
+ "osx.10.14",
+ "osx.10.13",
+ "osx.10.12",
+ "osx.10.11",
+ "osx.10.10",
+ "osx",
+ "unix",
+ "any",
+ "base"
+ ],
+ "osx.13-arm64": [
+ "osx.13-arm64",
+ "osx.13",
+ "osx.12-arm64",
+ "osx.12",
+ "osx.11.0-arm64",
+ "osx.11.0",
+ "osx.10.16-arm64",
+ "osx.10.16",
+ "osx.10.15-arm64",
+ "osx.10.15",
+ "osx.10.14-arm64",
+ "osx.10.14",
+ "osx.10.13-arm64",
+ "osx.10.13",
+ "osx.10.12-arm64",
+ "osx.10.12",
+ "osx.10.11-arm64",
+ "osx.10.11",
+ "osx.10.10-arm64",
+ "osx.10.10",
+ "osx-arm64",
+ "osx",
+ "unix-arm64",
+ "unix",
+ "any",
+ "base"
+ ],
+ "osx.13-x64": [
+ "osx.13-x64",
+ "osx.13",
+ "osx.12-x64",
+ "osx.12",
+ "osx.11.0-x64",
+ "osx.11.0",
+ "osx.10.16-x64",
+ "osx.10.16",
+ "osx.10.15-x64",
+ "osx.10.15",
+ "osx.10.14-x64",
+ "osx.10.14",
+ "osx.10.13-x64",
+ "osx.10.13",
+ "osx.10.12-x64",
+ "osx.10.12",
+ "osx.10.11-x64",
+ "osx.10.11",
+ "osx.10.10-x64",
+ "osx.10.10",
+ "osx-x64",
+ "osx",
+ "unix-x64",
+ "unix",
+ "any",
+ "base"
+ ],
"rhel": [
"rhel",
"linux",
diff --git a/src/libraries/Microsoft.NETCore.Platforms/src/runtime.json b/src/libraries/Microsoft.NETCore.Platforms/src/runtime.json
index 17a0a1c4db0..278e321ef04 100644
--- a/src/libraries/Microsoft.NETCore.Platforms/src/runtime.json
+++ b/src/libraries/Microsoft.NETCore.Platforms/src/runtime.json
@@ -2360,6 +2360,23 @@
"osx.11.0-x64"
]
},
+ "osx.13": {
+ "#import": [
+ "osx.12"
+ ]
+ },
+ "osx.13-arm64": {
+ "#import": [
+ "osx.13",
+ "osx.12-arm64"
+ ]
+ },
+ "osx.13-x64": {
+ "#import": [
+ "osx.13",
+ "osx.12-x64"
+ ]
+ },
"rhel": {
"#import": [
"linux"
diff --git a/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props b/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props
index 38deb3f1863..a99c11f8bc3 100644
--- a/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props
+++ b/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props
@@ -173,7 +173,7 @@
<RuntimeGroup Include="osx">
<Parent>unix</Parent>
<Architectures>x64;arm64</Architectures>
- <Versions>10.10;10.11;10.12;10.13;10.14;10.15;10.16;11.0;12</Versions>
+ <Versions>10.10;10.11;10.12;10.13;10.14;10.15;10.16;11.0;12;13</Versions>
</RuntimeGroup>
<RuntimeGroup Include="freebsd">
diff --git a/src/libraries/Microsoft.NETCore.Platforms/tests/GenerateRuntimeGraphTests.cs b/src/libraries/Microsoft.NETCore.Platforms/tests/GenerateRuntimeGraphTests.cs
index bce0965cf0a..253b507b28e 100644
--- a/src/libraries/Microsoft.NETCore.Platforms/tests/GenerateRuntimeGraphTests.cs
+++ b/src/libraries/Microsoft.NETCore.Platforms/tests/GenerateRuntimeGraphTests.cs
@@ -210,14 +210,15 @@ namespace Microsoft.NETCore.Platforms.BuildTasks.Tests
[Fact]
public void CanAddArchitectureAndVersionToExistingGroups()
{
- var additionalRIDs = new[] { "osx.12-powerpc" };
+ var additionalRIDs = new[] { "osx.13-powerpc" };
var expectedAdditions = new[]
{
- new RuntimeDescription("osx.12-powerpc", new[] { "osx.12", "osx.11.0-powerpc" }),
- new RuntimeDescription("osx.12-arm64", new[] { "osx.12", "osx.11.0-arm64" }),
- new RuntimeDescription("osx.12-x64", new[] { "osx.12", "osx.11.0-x64" }),
- new RuntimeDescription("osx.12", new[] { "osx.11.0" }),
+ new RuntimeDescription("osx.13-powerpc", new[] { "osx.13", "osx.12-powerpc" }),
+ new RuntimeDescription("osx.13-arm64", new[] { "osx.13", "osx.12-arm64" }),
+ new RuntimeDescription("osx.13-x64", new[] { "osx.13", "osx.12-x64" }),
+ new RuntimeDescription("osx.13", new[] { "osx.12" }),
// our RID model doesn't give priority to architecture, so the new architecture is applied to all past versions
+ new RuntimeDescription("osx.12-powerpc", new[] { "osx.12", "osx.11.0-powerpc" }),
new RuntimeDescription("osx.11.0-powerpc", new[] { "osx.11.0", "osx.10.16-powerpc" }),
new RuntimeDescription("osx.10.16-powerpc", new[] { "osx.10.16", "osx.10.15-powerpc" }),
new RuntimeDescription("osx.10.15-powerpc", new[] { "osx.10.15", "osx.10.14-powerpc" }),