Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 22 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ on:
pull_request:

jobs:

build:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- windows-2025

runs-on: ${{ matrix.os }}

env:
DOTNET_NOLOGO: true

Expand All @@ -19,18 +26,16 @@ jobs:
with:
submodules: true

# Build with .NET 10.0 SDK
# Test with .NET 8.0 and 10.0
- name: Setup .NET 8.0 and 10.0
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: |
8.0.x
10.0.x

- name: Build
run: |
dotnet build
dotnet test
# Pack production packages to validate compatibility
dotnet pack -p:ContinuousIntegrationBuild=true
- run: dotnet build

- name: Test net48
if: runner.os == 'Windows'
run: dotnet test --no-build -f net48

- name: Test net8.0
run: dotnet test --no-build -f net8.0

- name: Test net10.0
run: dotnet test --no-build -f net10.0

- run: dotnet pack -p:ContinuousIntegrationBuild=true
Loading