Skip to content

Commit b29bf56

Browse files
committed
chore(ci): remove config from matrix
1 parent 3d93ae5 commit b29bf56

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/pull-request.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
configuration: [debug, release]
1413
os: [ubuntu, windows, macos]
1514
target: [netstandard2.0, netstandard2.1]
1615
include:
@@ -28,15 +27,17 @@ jobs:
2827
with:
2928
dotnet-version: '3.1.x'
3029

31-
- name: Build library
32-
run: dotnet build -c ${{ matrix.configuration }} -f ${{ matrix.target }} src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
30+
- name: Build library (Debug)
31+
run: dotnet build -c debug -f ${{ matrix.target }} src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
32+
33+
- name: Build library (Release)
34+
run: dotnet build -c release -f ${{ matrix.target }} src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
3335

3436
Test:
3537
runs-on: ${{ matrix.os }}-latest
3638
strategy:
3739
fail-fast: false
3840
matrix:
39-
configuration: [debug, release]
4041
os: [ubuntu, windows, macos]
4142
target: [netcoreapp3.1]
4243
include:
@@ -56,15 +57,18 @@ jobs:
5657
dotnet-version: '3.1.x'
5758

5859
# NOTE: This is the temporary fix for https://github.com/actions/virtual-environments/issues/1090
59-
- name: Cleanup before restor
60+
- name: Cleanup before restore
6061
if: ${{ matrix.os == 'windows' }}
61-
run: dotnet clean ICSharpCode.SharpZipLib.sln -c ${{ matrix.configuration }} && dotnet nuget locals all --clear
62+
run: dotnet clean ICSharpCode.SharpZipLib.sln && dotnet nuget locals all --clear
6263

6364
- name: Restore test dependencies
6465
run: dotnet restore
6566

66-
- name: Run tests
67-
run: dotnet test -c ${{ matrix.configuration }} -f ${{ matrix.target }} --no-restore
67+
- name: Run tests (Debug)
68+
run: dotnet test -c debug -f ${{ matrix.target }} --no-restore
69+
70+
- name: Run tests (Release)
71+
run: dotnet test -c release -f ${{ matrix.target }} --no-restore
6872

6973
Pack:
7074
needs: [Build, Test]

0 commit comments

Comments
 (0)