From 8b16bb67e80757972690f84f4c624a9d54d4aae0 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Tue, 31 Mar 2026 23:50:01 +0100 Subject: [PATCH 1/4] Add workflow jobs for building `ui`, `uno` and `maui` targets --- .github/workflows/ci.yml | 145 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 143 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1384c21c1..1da7bf72a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,7 +153,7 @@ jobs: # name: '' # path: '' - # Builds the SecureFolderFS SDK libraries + # Builds the SecureFolderFS SDK libraries. sdk: needs: shared runs-on: windows-2025-vs2026 @@ -209,7 +209,7 @@ jobs: # name: '' # path: '' - # Builds the SecureFolderFS Core libraries + # Builds the SecureFolderFS Core libraries. core: needs: [shared, lib] runs-on: windows-2025-vs2026 @@ -275,6 +275,147 @@ jobs: -p:Configuration=$env:CONFIGURATION ` -p:TargetFramework=$env:THIS_TFM +# - name: Upload artifact +# uses: actions/upload-artifact@v7 +# with: +# name: '' +# path: '' + + # Builds the SecureFolderFS cross-platform UI library. + # This library is the common denominator for both the MAUI and Uno Platform project heads. + ui: + needs: [core, sdk] + runs-on: windows-2025-vs2026 + strategy: + fail-fast: false + matrix: + configuration: [Release, Debug] + targetFramework: [net10.0] + env: + CONFIGURATION: ${{ matrix.configuration }} + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Platforms\SecureFolderFS.UI + THIS_TFM: ${{ matrix.targetFramework }} + + steps: + - name: Checkout the repository + uses: actions/checkout@v6 + with: + submodules: recursive + + - name: Install Dependencies + uses: "./.github/install_dependencies" + with: + dotnet-version: ${{ env.DOTNET_SDK }} + run-uno-check: false + + - name: Restore + run: | + msbuild $env:SOLUTION_PATH ` + -t:Restore ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION + + - name: Build + run: | + msbuild $env:THIS_PROJECT_PATH ` + -t:Build ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION + +# - name: Upload artifact +# uses: actions/upload-artifact@v7 +# with: +# name: '' +# path: '' + + # Builds the SecureFolderFS Uno Platform app project head. + uno: + needs: [core, sdk, shared, ui] + runs-on: windows-2025-vs2026 + strategy: + fail-fast: false + matrix: + configuration: [Release, Debug] + targetFramework: [net10.0-desktop, net10.0-maccatalyst, net10.0-windows10.0.26100.0] + env: + CONFIGURATION: ${{ matrix.configuration }} + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Platforms\SecureFolderFS.Uno + THIS_TFM: ${{ matrix.targetFramework }} + + steps: + - name: Checkout the repository + uses: actions/checkout@v6 + with: + submodules: recursive + + - name: Install Dependencies + uses: "./.github/install_dependencies" + with: + dotnet-version: ${{ env.DOTNET_SDK }} + run-uno-check: false + + - name: Restore + run: | + msbuild $env:SOLUTION_PATH ` + -t:Restore ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION + + - name: Build + run: | + msbuild $env:THIS_PROJECT_PATH ` + -t:Build ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION ` + -p:TargetFramework=$env:THIS_TFM + +# - name: Upload artifact +# uses: actions/upload-artifact@v7 +# with: +# name: '' +# path: '' + + # Builds the SecureFolderFS MAUI app project head. + maui: + needs: [core, sdk, shared, ui] + runs-on: windows-2025-vs2026 + strategy: + fail-fast: false + matrix: + configuration: [Release, Debug] + targetFramework: [net10.0-android, net10.0-ios] + env: + CONFIGURATION: ${{ matrix.configuration }} + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Platforms\SecureFolderFS.Maui + THIS_TFM: ${{ matrix.targetFramework }} + + steps: + - name: Checkout the repository + uses: actions/checkout@v6 + with: + submodules: recursive + + - name: Install Dependencies + uses: "./.github/install_dependencies" + with: + dotnet-version: ${{ env.DOTNET_SDK }} + run-uno-check: false + + - name: Restore + run: | + msbuild $env:SOLUTION_PATH ` + -t:Restore ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION + + - name: Build + run: | + msbuild $env:THIS_PROJECT_PATH ` + -t:Build ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION ` + -p:TargetFramework=$env:THIS_TFM + # - name: Upload artifact # uses: actions/upload-artifact@v7 # with: From ad050947add5ab35352d713780f3d4410faafd0e Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Wed, 1 Apr 2026 00:38:09 +0100 Subject: [PATCH 2/4] Try fixing TFM configuration in Uno head --- .../SecureFolderFS.Uno.csproj | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj b/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj index 58a50316e..7793d89f7 100644 --- a/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj +++ b/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj @@ -1,14 +1,9 @@  - $(TargetFrameworks);net10.0-desktop - $(TargetFrameworks);net10.0-windows10.0.26100 - $(TargetFrameworks);net10.0-desktop - - + net10.0-desktop;net10.0-windows10.0.26100.0 - @@ -59,23 +54,6 @@ - - - - - - - - - - - - - <_RequiresILLinkPack>true - <_ComputeManagedAssemblyToLink>true - - - @@ -145,7 +123,6 @@ True app.manifest win-x86;win-x64;win-arm64 - $(DotNetVersion)-net10.0-windows10.0.26100 win-$(Platform).pubxml From 799bab5eb43210e50a9080b5182147e994f59f13 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Thu, 2 Apr 2026 21:14:56 +0100 Subject: [PATCH 3/4] Remove outdated `net10.0-maccatalyst` TFM from CI workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1da7bf72a..54481bc28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -336,7 +336,7 @@ jobs: fail-fast: false matrix: configuration: [Release, Debug] - targetFramework: [net10.0-desktop, net10.0-maccatalyst, net10.0-windows10.0.26100.0] + targetFramework: [net10.0-desktop, net10.0-windows10.0.26100.0] env: CONFIGURATION: ${{ matrix.configuration }} THIS_PROJECT_PATH: ${{ github.workspace }}\src\Platforms\SecureFolderFS.Uno From ba29764800a361fbdd85368912a68f01b9604077 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Thu, 2 Apr 2026 21:33:50 +0100 Subject: [PATCH 4/4] Fix build error --- src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj b/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj index 7793d89f7..3f46f9d2e 100644 --- a/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj +++ b/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj @@ -1,4 +1,4 @@ - + net10.0-desktop;net10.0-windows10.0.26100.0 @@ -91,7 +91,7 @@ - +