File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
tests/BenchmarkDotNet.IntegrationTests Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 14
14
using System . Collections . Generic ;
15
15
using System . Linq ;
16
16
using System . Threading ;
17
+ using BenchmarkDotNet . Environments ;
18
+ using BenchmarkDotNet . Portability ;
17
19
using Xunit ;
18
20
using Xunit . Abstractions ;
19
21
@@ -29,8 +31,10 @@ public static IEnumerable<object[]> GetToolchains()
29
31
{
30
32
yield return new object [ ] { Job . Default . GetToolchain ( ) } ;
31
33
34
+ bool isOsxArm64 = RuntimeInformation . GetCurrentPlatform ( ) == Platform . Arm64 && RuntimeInformation . IsMacOSX ( ) ;
32
35
if ( ! ContinuousIntegration . IsGitHubActionsOnWindows ( ) // no native dependencies
33
- && ! ContinuousIntegration . IsAppVeyorOnWindows ( ) ) // too time consuming for AppVeyor (1h limit)
36
+ && ! ContinuousIntegration . IsAppVeyorOnWindows ( ) // too time consuming for AppVeyor (1h limit)
37
+ && ! isOsxArm64 ) // Native compilation does not support targeting osx-arm64 yet. https://github.com/dotnet/corert/issues/4589
34
38
{
35
39
yield return new object [ ] { NativeAotToolchain . CreateBuilder ( )
36
40
. UseNuGet (
You can’t perform that action at this time.
0 commit comments