You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make it possible to build/run tests on linux-arm64
I wanted to run the roslyn test suite on Linux on arm64. Building
everything worked, but running tests would fail with errors like:
Errors Microsoft.CodeAnalysis.CSharp.Emit.UnitTests_1
Could not find 'dotnet' host for the 'X64' architecture.
You can resolve the problem by installing the 'X64' .NET.
With the changes in this commit, I can build and run all tests using:
$ ./eng/build.sh --restore --build --pack
$ ./eng/build.sh --test
I would, eventually, like to be able to run the tests on other
platforms, including s390x and ppc64le. Hopefully that might help
identify/fix issues like #74392
earlier.
One thing I am not too happy about in this change is how many places
need an explicit addition of "linux-arm64". That won't scale as we want
to add more architectures.
0 commit comments