From 06312cbcfd98daec6b70b684a26e137440f82d7a Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Thu, 25 Apr 2024 21:56:47 +0200 Subject: [PATCH 1/3] Update TestFormat.cs --- tests/ImageSharp.Tests/TestFormat.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ImageSharp.Tests/TestFormat.cs b/tests/ImageSharp.Tests/TestFormat.cs index 10211f386c..1c7d31b505 100644 --- a/tests/ImageSharp.Tests/TestFormat.cs +++ b/tests/ImageSharp.Tests/TestFormat.cs @@ -229,8 +229,7 @@ public class TestFormat : IImageFormatConfigurationModule, IImageFormat return this.testFormat.Sample(); } - protected override Image Decode(TestDecoderOptions options, Stream stream, CancellationToken cancellationToken) - => this.Decode(options, stream, cancellationToken); + protected override Image Decode(TestDecoderOptions options, Stream stream, CancellationToken cancellationToken) => this.Decode(options, stream, cancellationToken); } public class TestDecoderOptions : ISpecializedDecoderOptions From eb1c871f79a0859fe68e34af391e73be68dc30ae Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Thu, 25 Apr 2024 22:21:36 +0200 Subject: [PATCH 2/3] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index d96bd90a93..a450aebf43 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -24,7 +24,7 @@ jobs: sdk: 8.0.x runtime: -x64 codecov: false - - os: macos-latest + - os: macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable framework: net8.0 sdk: 8.0.x runtime: -x64 From aaeae24dd6b71ee2db7d465c336bbdca82988d5c Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Thu, 25 Apr 2024 22:28:42 +0200 Subject: [PATCH 3/3] Undo dummy change --- tests/ImageSharp.Tests/TestFormat.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ImageSharp.Tests/TestFormat.cs b/tests/ImageSharp.Tests/TestFormat.cs index 1c7d31b505..10211f386c 100644 --- a/tests/ImageSharp.Tests/TestFormat.cs +++ b/tests/ImageSharp.Tests/TestFormat.cs @@ -229,7 +229,8 @@ public class TestFormat : IImageFormatConfigurationModule, IImageFormat return this.testFormat.Sample(); } - protected override Image Decode(TestDecoderOptions options, Stream stream, CancellationToken cancellationToken) => this.Decode(options, stream, cancellationToken); + protected override Image Decode(TestDecoderOptions options, Stream stream, CancellationToken cancellationToken) + => this.Decode(options, stream, cancellationToken); } public class TestDecoderOptions : ISpecializedDecoderOptions