Skip to content

Commit 64a1ea1

Browse files
authored
feat: Set stripping level to High in CI (#2149)
1 parent 1e37a3c commit 64a1ea1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Scripts.Integration.Test/Editor/Builder.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ public static void BuildIl2CPPPlayer(BuildTarget target, BuildTargetGroup group,
3535
#endif
3636

3737
Debug.Log("Builder: Configuring code stripping level");
38-
#if UNITY_6000_0_OR_NEWER
38+
#if UNITY_2022_1_OR_NEWER
3939
PlayerSettings.SetManagedStrippingLevel(NamedBuildTarget.FromBuildTargetGroup(group), ManagedStrippingLevel.High);
40-
#elif UNITY_2022_1_OR_NEWER
41-
PlayerSettings.SetManagedStrippingLevel(NamedBuildTarget.FromBuildTargetGroup(group), ManagedStrippingLevel.Low);
4240
#elif UNITY_2019_1_OR_NEWER
4341
PlayerSettings.SetManagedStrippingLevel(group, ManagedStrippingLevel.Low);
4442
#endif

0 commit comments

Comments
 (0)