This is an automated email from the ASF dual-hosted git repository. Havret pushed a commit to branch bump-dotnet-to-dotnet-10 in repository https://gitbox.apache.org/repos/asf/activemq-nms-amqp.git
commit f28edba509e3de8bde08e65df8a584b7e6a6e36c Author: Havret <[email protected]> AuthorDate: Sat May 23 09:33:15 2026 +0200 Update build configuration to support .NET 10.0 --- .github/workflows/build.yml | 15 +++++++++++---- Directory.Build.props | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3f8402f..ec22023 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,13 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + include: + - dotnet-version: '8.0.x' + tfm: 'net8.0' + - dotnet-version: '10.0.x' + tfm: 'net10.0' env: NMS_AMQP_TEST_CU: "artemis" NMS_AMQP_TEST_CPWD: "artemis" @@ -19,15 +26,15 @@ jobs: - name: Run ActiveMQ Artemis run: docker compose up -V -d working-directory: ./test - - name: Setup .NET 8 + - name: Setup .NET ${{ matrix.dotnet-version }} uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: ${{ matrix.dotnet-version }} - name: Restore dependencies run: dotnet restore apache-nms-amqp.sln - name: Build - run: dotnet build apache-nms-amqp.sln --configuration Release --no-restore + run: dotnet build apache-nms-amqp.sln --configuration Release --no-restore --framework ${{ matrix.tfm }} - name: Test - run: dotnet test apache-nms-amqp.sln --configuration Release --no-build --verbosity normal \ No newline at end of file + run: dotnet test apache-nms-amqp.sln --configuration Release --no-build --verbosity normal --framework ${{ matrix.tfm }} \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props index 3add44f..e97eb4a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ <Project> <PropertyGroup> <LangVersion>12</LangVersion> - <TargetFramework>net8.0</TargetFramework> + <TargetFrameworks>net8.0;net10.0</TargetFrameworks> </PropertyGroup> </Project> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
