Skip to content
Merged
Show file tree
Hide file tree
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
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ on:
branches: [ main ]

jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
framework: ['net8.0', 'net10.0']
env:
NMS_AMQP_TEST_CU: "artemis"
NMS_AMQP_TEST_CPWD: "artemis"
Expand All @@ -19,15 +22,15 @@ jobs:
- name: Run ActiveMQ Artemis
run: docker compose up -V -d
working-directory: ./test
- name: Setup .NET 8
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: |
8.0.x
10.0.x
- name: Restore dependencies
run: dotnet restore apache-nms-amqp.sln
Comment thread
Havret marked this conversation as resolved.

- name: Build
run: dotnet build apache-nms-amqp.sln --configuration Release --no-restore

- name: Test
run: dotnet test apache-nms-amqp.sln --configuration Release --no-build --verbosity normal
run: dotnet test apache-nms-amqp.sln --configuration Release --no-build --framework ${{ matrix.framework }} --verbosity normal
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<LangVersion>12</LangVersion>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
Comment thread
Havret marked this conversation as resolved.
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/NMS.AMQP/Apache-NMS-AMQP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ with the License. You may obtain a copy of the License at
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<RootNamespace>Apache.NMS.AMQP</RootNamespace>
<AssemblyName>Apache.NMS.AMQP</AssemblyName>
</PropertyGroup>
Expand Down
Loading