diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1384c21c1..54481bc28 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-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: diff --git a/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj b/src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj index 58a50316e..3f46f9d2e 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 - - - @@ -113,7 +91,7 @@ - + @@ -145,7 +123,6 @@ True app.manifest win-x86;win-x64;win-arm64 - $(DotNetVersion)-net10.0-windows10.0.26100 win-$(Platform).pubxml