Skip to content

Commit e33c1cd

Browse files
Use single test, enable runners
1 parent 97c1846 commit e33c1cd

File tree

2 files changed

+16
-58
lines changed

2 files changed

+16
-58
lines changed

.github/workflows/build-and-test.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ jobs:
1414
strategy:
1515
matrix:
1616
options:
17-
# - os: ubuntu-latest
18-
# framework: netcoreapp3.1
19-
# runtime: -x64
20-
# codecov: false
21-
# - os: windows-latest
22-
# framework: netcoreapp3.1
23-
# runtime: -x64
24-
# codecov: true
17+
- os: ubuntu-latest
18+
framework: netcoreapp3.1
19+
runtime: -x64
20+
codecov: false
21+
- os: windows-latest
22+
framework: netcoreapp3.1
23+
runtime: -x64
24+
codecov: true
2525
- os: windows-latest
2626
framework: netcoreapp2.1
2727
runtime: -x64
2828
codecov: false
29-
# - os: windows-latest
30-
# framework: net472
31-
# runtime: -x64
32-
# codecov: false
33-
# - os: windows-latest
34-
# framework: net472
35-
# runtime: -x86
36-
# codecov: false
29+
- os: windows-latest
30+
framework: net472
31+
runtime: -x64
32+
codecov: false
33+
- os: windows-latest
34+
framework: net472
35+
runtime: -x86
36+
codecov: false
3737

3838
runs-on: ${{matrix.options.os}}
3939
if: "!contains(github.event.head_commit.message, '[skip ci]')"

tests/ImageSharp.Tests/Formats/Jpg/Block8x8FTests.cs

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// #define BENCHMARKING
66
using System;
77
using System.Diagnostics;
8-
98
using SixLabors.ImageSharp.Formats.Jpeg.Components;
109
using SixLabors.ImageSharp.Tests.Formats.Jpg.Utils;
1110
using SixLabors.ImageSharp.Tests.TestUtilities;
@@ -162,52 +161,11 @@ public void Load_Store_IntArray()
162161
// PrintLinearData((Span<int>)mirror);
163162
}
164163

165-
[Fact]
166-
public void TransposeIntoFallback()
167-
{
168-
float[] expected = Create8x8FloatData();
169-
ReferenceImplementations.Transpose8x8(expected);
170-
171-
var source = default(Block8x8F);
172-
source.LoadFrom(Create8x8FloatData());
173-
174-
var dest = default(Block8x8F);
175-
source.TransposeIntoFallback(ref dest);
176-
177-
float[] actual = new float[64];
178-
dest.ScaledCopyTo(actual);
179-
180-
Assert.Equal(expected, actual);
181-
}
182-
183-
#if SUPPORTS_RUNTIME_INTRINSICS
184-
[Fact]
185-
public void TransposeIntoAvx()
186-
{
187-
float[] expected = Create8x8FloatData();
188-
ReferenceImplementations.Transpose8x8(expected);
189-
190-
var source = default(Block8x8F);
191-
source.LoadFrom(Create8x8FloatData());
192-
193-
var dest = default(Block8x8F);
194-
source.TransposeIntoAvx(ref dest);
195-
196-
float[] actual = new float[64];
197-
dest.ScaledCopyTo(actual);
198-
199-
Assert.Equal(expected, actual);
200-
}
201-
#endif
202-
203164
[Fact]
204165
public void TransposeInto()
205166
{
206167
static void RunTest()
207168
{
208-
// Just testing this fails in CI. RemoteExecutor is not working on my machine.
209-
Assert.True(false);
210-
211169
float[] expected = Create8x8FloatData();
212170
ReferenceImplementations.Transpose8x8(expected);
213171

0 commit comments

Comments
 (0)