File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 4646 with :
4747 dotnet-version : 8.0.x
4848
49+ # Show dotnet info for debugging architecture issues
50+ - name : Show .NET info
51+ run : dotnet --info
52+
4953 # Use the Dotnet Test command to load dependencies, build, and test the code.
5054 # We have to run the test projects individually so CoseSignTool.Tests can run under arm64 on the Mac runner.
5155 - name : Build and Test debug
Original file line number Diff line number Diff line change 44 <EnableMSTestRunner >true</EnableMSTestRunner >
55 <TestingPlatformShowTestsFailure >true</TestingPlatformShowTestsFailure >
66 <TestingPlatformDotnetTestSupport >true</TestingPlatformDotnetTestSupport >
7+ <!-- Configure architecture for macOS ARM64 runners -->
8+ <TestingPlatformArchitecture Condition =" '$(OS)' == 'Unix' AND $([MSBuild]::IsOSPlatform('OSX'))" >arm64</TestingPlatformArchitecture >
9+ <!-- Alternative: Use RuntimeIdentifier on macOS -->
10+ <RuntimeIdentifier Condition =" '$(OS)' == 'Unix' AND $([MSBuild]::IsOSPlatform('OSX')) AND '$(RuntimeIdentifier)' == ''" >osx-arm64</RuntimeIdentifier >
711 </PropertyGroup >
812</Project >
You can’t perform that action at this time.
0 commit comments