Skip to content
Closed
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
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ jobs:
matrix:
include:
- target: netstandard2.0
dotnet-version: "2.0"
prerelease: false
dotnet-version: "10.0"
prerelease: true
- target: net10.0
dotnet-version: "10.0"
prerelease: true
- target: net10.0-windows
dotnet-version: "10.0"
prerelease: true

steps:
- name: Checkout
Expand All @@ -36,17 +39,17 @@ jobs:
include-prerelease: ${{ matrix.prerelease }}

- name: Restore
run: dotnet restore CSLibrary2026/CSLibrary2026.csproj
run: dotnet restore CSLibrary2026.csproj

- name: Build
run: >
dotnet build CSLibrary2026/CSLibrary2026.csproj
dotnet build CSLibrary2026.csproj
-c Release
--framework ${{ matrix.target }}

- name: Pack
run: >
dotnet pack CSLibrary2026/CSLibrary2026.csproj
dotnet pack CSLibrary2026.csproj
-c Release
-o ./nupkg
--no-build
Expand All @@ -72,14 +75,14 @@ jobs:
include-prerelease: true

- name: Restore tests
run: dotnet restore CSLibrary2026/Tests/CSLibrary2026.Tests/CSLibrary2026.Tests.csproj
run: dotnet restore Tests/CSLibrary2026.Tests/CSLibrary2026.Tests.csproj

- name: Build tests
run: dotnet build CSLibrary2026/Tests/CSLibrary2026.Tests/CSLibrary2026.Tests.csproj -c Release
run: dotnet build Tests/CSLibrary2026.Tests/CSLibrary2026.Tests.csproj -c Release

- name: Run tests
run: >
dotnet test CSLibrary2026/Tests/CSLibrary2026.Tests/CSLibrary2026.Tests.csproj
dotnet test Tests/CSLibrary2026.Tests/CSLibrary2026.Tests.csproj
-c Release
--filter "Category!=integration"
--logger "trx;LogFileName=results.trx"
4 changes: 2 additions & 2 deletions CSLibrary2026.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net10.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net10.0;net10.0-windows;net10.0-android;net10.0-ios;net10.0-maccatalyst</TargetFrameworks>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<RootNamespace>CSLibrary</RootNamespace>
<AssemblyName>CSLibrary2026</AssemblyName>
<Version>0.0.1</Version>
<Version>1.0.0-beta.2</Version>

<!-- TCP symbol: enables #if TCP in TCPIP HAL files -->
<DefineConstants>TCP</DefineConstants>
Expand Down
Loading