Skip to content

Commit

Permalink
Build and test both Debug/Release on Ubuntu
Browse files Browse the repository at this point in the history
The Windows job does more work (testing .NET Framework too) so use the Ubuntu job to test both Debug/Release configurations.
  • Loading branch information
drewnoakes committed Jan 29, 2024
1 parent 969a651 commit a998e73
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore MetadataExtractor.sln
- name: Build
- name: Build (Release)
run: dotnet build MetadataExtractor.sln --configuration Release
- name: Test net8.0
- name: Build (Debug)
run: dotnet build MetadataExtractor.sln --configuration Debug
- name: Test net8.0 (Release)
run: dotnet test --verbosity normal --configuration Release --no-build -f net8.0 MetadataExtractor.Tests/MetadataExtractor.Tests.csproj
- name: Test net8.0 (Debug)
run: dotnet test --verbosity normal --configuration Debug --no-build -f net8.0 MetadataExtractor.Tests/MetadataExtractor.Tests.csproj

windows:
runs-on: windows-latest
Expand All @@ -38,7 +42,7 @@ jobs:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore MetadataExtractor.sln
- name: Build
- name: Build
run: dotnet build MetadataExtractor.sln --configuration Release
- name: Test net8.0
run: dotnet test --verbosity normal --configuration Release --no-build -f net8.0 MetadataExtractor.Tests\MetadataExtractor.Tests.csproj
Expand Down

0 comments on commit a998e73

Please sign in to comment.