Skip to content

Conversation

@stefannikolei
Copy link
Contributor

Added macos-26 and ubuntu-2204 github-runners. Those run on ARM. With this this architecture can be tested on every run and not just on demand like before.

Added macos-26 and ubuntu-2204 github runners which run on arm
We now use the tolerant Image Comparer for now.
This disables all tests which need libgdiplus for macs with arm.
The hosted runners do not have libgdiplus installed
public void BmpDecoder_CanDecode_8Bit<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : unmanaged, IPixel<TPixel>
{
if (TestEnvironment.IsMacOS && TestEnvironment.IsArm64Process)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think we should be disabling tests. We’ve been running on ARM for a while

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's for missing libgdiplus

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mac does not have apt. You must use homebrew. I can try it out. I haven't because I could not get mono-libgdiplus working on my machine 🙈

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, seems well supported though.

https://formulae.brew.sh/formula/mono-libgdiplus

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems supported. but it seems that it is not that easy. Tests are failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants