Skip to content

Commit 18a51df

Browse files
Skip WebGPU drawing tests on Linux
1 parent c2db283 commit 18a51df

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/ImageSharp.Drawing.Tests/Processing/Backends/WebGPUDrawingBackendTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Copyright (c) Six Labors.
22
// Licensed under the Six Labors Split License.
33

4+
#if !OS_Linux
5+
// WebGPU is failing in our CI environment in Ubuntu with
6+
// WebGPU adapter request failed with status 'Unavailable'
47
using SixLabors.Fonts;
58
using SixLabors.ImageSharp.Drawing.Processing;
69
using SixLabors.ImageSharp.Drawing.Processing.Backends;
@@ -970,3 +973,4 @@ private static Buffer2DRegion<TPixel> GetFrameRegion<TPixel>(Image<TPixel> image
970973
where TPixel : unmanaged, IPixel<TPixel>
971974
=> new(image.Frames.RootFrame.PixelBuffer, image.Bounds);
972975
}
976+
#endif

0 commit comments

Comments
 (0)