From 0c86a6b90b768c9b3fa2dc2de712e6b64e2a9327 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Wed, 15 Apr 2026 22:18:54 +0100 Subject: [PATCH 1/2] Add CI workflow step to test SecureFolderFS --- .github/workflows/ci.yml | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b37062ad8..c95893563 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -435,3 +435,55 @@ jobs: # with: # name: '' # path: '' + + # Builds and tests SecureFolderFS. + test: + needs: [sdk, ui] + 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 }}\tests\SecureFolderFS.Tests + 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 ` + -maxcpucount ` + -t:Restore ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION + + - name: Build + run: | + msbuild $env:THIS_PROJECT_PATH ` + -maxcpucount ` + -t:Build ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION ` + -p:TargetFramework=$env:THIS_TFM + + - name: Test + run: dotnet test $env:THIS_PROJECT_PATH -c $env:CONFIGURATION --no-build + +# - name: Upload artifact +# uses: actions/upload-artifact@v7 +# with: +# name: '' +# path: '' \ No newline at end of file From b88a6d6326a5bb33e0d1be4bb98be6532310894f Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Fri, 17 Apr 2026 08:01:22 +0100 Subject: [PATCH 2/2] Remove explicit `-p:Platform="Any CPU"` --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c95893563..7bf2ac596 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -467,7 +467,6 @@ jobs: msbuild $env:SOLUTION_PATH ` -maxcpucount ` -t:Restore ` - -p:Platform="Any CPU" ` -p:Configuration=$env:CONFIGURATION - name: Build @@ -475,7 +474,6 @@ jobs: msbuild $env:THIS_PROJECT_PATH ` -maxcpucount ` -t:Build ` - -p:Platform="Any CPU" ` -p:Configuration=$env:CONFIGURATION ` -p:TargetFramework=$env:THIS_TFM