From 79696ee1f395235d39f57917e1ff81bea96a1aae Mon Sep 17 00:00:00 2001 From: OpenClaw Date: Thu, 16 Apr 2026 10:00:06 +0800 Subject: [PATCH] feat: add MAUI platform targets (android, ios, windows, maccatalyst) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TargetFrameworks: netstandard2.0, net10.0, net10.0-windows, net10.0-android, net10.0-ios, net10.0-maccatalyst - Version bump: 0.0.1 → 1.0.0-beta.2 - BLETransport/TCPTransport use Plugin.BLE — no platform conditionals needed - CI: fix csproj paths, add net10.0-windows target, standardize dotnet-version --- .github/workflows/ci.yml | 19 +++++++++++-------- CSLibrary2026.csproj | 4 ++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b895d1d..df2a893 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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" diff --git a/CSLibrary2026.csproj b/CSLibrary2026.csproj index 474d552..1f33bdc 100755 --- a/CSLibrary2026.csproj +++ b/CSLibrary2026.csproj @@ -1,11 +1,11 @@ - netstandard2.0;net10.0 + netstandard2.0;net10.0;net10.0-windows;net10.0-android;net10.0-ios;net10.0-maccatalyst true CSLibrary CSLibrary2026 - 0.0.1 + 1.0.0-beta.2 TCP