You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ha...@apache.org on 2026/05/23 07:33:28 UTC
(activemq-nms-amqp) branch bump-dotnet-to-dotnet-10 created (now f28edba)
This is an automated email from the ASF dual-hosted git repository.
Havret pushed a change to branch bump-dotnet-to-dotnet-10
in repository https://gitbox.apache.org/repos/asf/activemq-nms-amqp.git
at f28edba Update build configuration to support .NET 10.0
This branch includes the following new commits:
new f28edba Update build configuration to support .NET 10.0
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
(activemq-nms-amqp) 01/01: Update build configuration to support .NET 10.0
Posted by ha...@apache.org.
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 <h4...@gmail.com>
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: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact