|
3 | 3 | on: |
4 | 4 | push: |
5 | 5 | branches: |
6 | | - - main |
| 6 | + - master |
7 | 7 | pull_request: |
8 | 8 | workflow_dispatch: |
9 | 9 |
|
@@ -153,7 +153,7 @@ jobs: |
153 | 153 | # name: '' |
154 | 154 | # path: '' |
155 | 155 |
|
156 | | - # Builds the SecureFolderFS SDK libraries |
| 156 | + # Builds the SecureFolderFS SDK libraries. |
157 | 157 | sdk: |
158 | 158 | needs: shared |
159 | 159 | runs-on: windows-2025-vs2026 |
@@ -209,7 +209,7 @@ jobs: |
209 | 209 | # name: '' |
210 | 210 | # path: '' |
211 | 211 |
|
212 | | - # Builds the SecureFolderFS Core libraries |
| 212 | + # Builds the SecureFolderFS Core libraries. |
213 | 213 | core: |
214 | 214 | needs: [shared, lib] |
215 | 215 | runs-on: windows-2025-vs2026 |
@@ -275,6 +275,147 @@ jobs: |
275 | 275 | -p:Configuration=$env:CONFIGURATION ` |
276 | 276 | -p:TargetFramework=$env:THIS_TFM |
277 | 277 |
|
| 278 | +# - name: Upload artifact |
| 279 | +# uses: actions/upload-artifact@v7 |
| 280 | +# with: |
| 281 | +# name: '' |
| 282 | +# path: '' |
| 283 | + |
| 284 | + # Builds the SecureFolderFS cross-platform UI library. |
| 285 | + # This library is the common denominator for both the MAUI and Uno Platform project heads. |
| 286 | + ui: |
| 287 | + needs: [core, sdk] |
| 288 | + runs-on: windows-2025-vs2026 |
| 289 | + strategy: |
| 290 | + fail-fast: false |
| 291 | + matrix: |
| 292 | + configuration: [Release, Debug] |
| 293 | + targetFramework: [net10.0] |
| 294 | + env: |
| 295 | + CONFIGURATION: ${{ matrix.configuration }} |
| 296 | + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Platforms\SecureFolderFS.UI |
| 297 | + THIS_TFM: ${{ matrix.targetFramework }} |
| 298 | + |
| 299 | + steps: |
| 300 | + - name: Checkout the repository |
| 301 | + uses: actions/checkout@v6 |
| 302 | + with: |
| 303 | + submodules: recursive |
| 304 | + |
| 305 | + - name: Install Dependencies |
| 306 | + uses: "./.github/install_dependencies" |
| 307 | + with: |
| 308 | + dotnet-version: ${{ env.DOTNET_SDK }} |
| 309 | + run-uno-check: false |
| 310 | + |
| 311 | + - name: Restore |
| 312 | + run: | |
| 313 | + msbuild $env:SOLUTION_PATH ` |
| 314 | + -t:Restore ` |
| 315 | + -p:Platform="Any CPU" ` |
| 316 | + -p:Configuration=$env:CONFIGURATION |
| 317 | +
|
| 318 | + - name: Build |
| 319 | + run: | |
| 320 | + msbuild $env:THIS_PROJECT_PATH ` |
| 321 | + -t:Build ` |
| 322 | + -p:Platform="Any CPU" ` |
| 323 | + -p:Configuration=$env:CONFIGURATION |
| 324 | +
|
| 325 | +# - name: Upload artifact |
| 326 | +# uses: actions/upload-artifact@v7 |
| 327 | +# with: |
| 328 | +# name: '' |
| 329 | +# path: '' |
| 330 | + |
| 331 | + # Builds the SecureFolderFS Uno Platform app project head. |
| 332 | + uno: |
| 333 | + needs: [core, sdk, shared, ui] |
| 334 | + runs-on: windows-2025-vs2026 |
| 335 | + strategy: |
| 336 | + fail-fast: false |
| 337 | + matrix: |
| 338 | + configuration: [Release, Debug] |
| 339 | + targetFramework: [net10.0-desktop, net10.0-windows10.0.26100.0] |
| 340 | + env: |
| 341 | + CONFIGURATION: ${{ matrix.configuration }} |
| 342 | + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Platforms\SecureFolderFS.Uno |
| 343 | + THIS_TFM: ${{ matrix.targetFramework }} |
| 344 | + |
| 345 | + steps: |
| 346 | + - name: Checkout the repository |
| 347 | + uses: actions/checkout@v6 |
| 348 | + with: |
| 349 | + submodules: recursive |
| 350 | + |
| 351 | + - name: Install Dependencies |
| 352 | + uses: "./.github/install_dependencies" |
| 353 | + with: |
| 354 | + dotnet-version: ${{ env.DOTNET_SDK }} |
| 355 | + run-uno-check: false |
| 356 | + |
| 357 | + - name: Restore |
| 358 | + run: | |
| 359 | + msbuild $env:SOLUTION_PATH ` |
| 360 | + -t:Restore ` |
| 361 | + -p:Platform="Any CPU" ` |
| 362 | + -p:Configuration=$env:CONFIGURATION |
| 363 | +
|
| 364 | + - name: Build |
| 365 | + run: | |
| 366 | + msbuild $env:THIS_PROJECT_PATH ` |
| 367 | + -t:Build ` |
| 368 | + -p:Platform="Any CPU" ` |
| 369 | + -p:Configuration=$env:CONFIGURATION ` |
| 370 | + -p:TargetFramework=$env:THIS_TFM |
| 371 | +
|
| 372 | +# - name: Upload artifact |
| 373 | +# uses: actions/upload-artifact@v7 |
| 374 | +# with: |
| 375 | +# name: '' |
| 376 | +# path: '' |
| 377 | + |
| 378 | + # Builds the SecureFolderFS MAUI app project head. |
| 379 | + maui: |
| 380 | + needs: [core, sdk, shared, ui] |
| 381 | + runs-on: windows-2025-vs2026 |
| 382 | + strategy: |
| 383 | + fail-fast: false |
| 384 | + matrix: |
| 385 | + configuration: [Release, Debug] |
| 386 | + targetFramework: [net10.0-android, net10.0-ios] |
| 387 | + env: |
| 388 | + CONFIGURATION: ${{ matrix.configuration }} |
| 389 | + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Platforms\SecureFolderFS.Maui |
| 390 | + THIS_TFM: ${{ matrix.targetFramework }} |
| 391 | + |
| 392 | + steps: |
| 393 | + - name: Checkout the repository |
| 394 | + uses: actions/checkout@v6 |
| 395 | + with: |
| 396 | + submodules: recursive |
| 397 | + |
| 398 | + - name: Install Dependencies |
| 399 | + uses: "./.github/install_dependencies" |
| 400 | + with: |
| 401 | + dotnet-version: ${{ env.DOTNET_SDK }} |
| 402 | + run-uno-check: false |
| 403 | + |
| 404 | + - name: Restore |
| 405 | + run: | |
| 406 | + msbuild $env:SOLUTION_PATH ` |
| 407 | + -t:Restore ` |
| 408 | + -p:Platform="Any CPU" ` |
| 409 | + -p:Configuration=$env:CONFIGURATION |
| 410 | +
|
| 411 | + - name: Build |
| 412 | + run: | |
| 413 | + msbuild $env:THIS_PROJECT_PATH ` |
| 414 | + -t:Build ` |
| 415 | + -p:Platform="Any CPU" ` |
| 416 | + -p:Configuration=$env:CONFIGURATION ` |
| 417 | + -p:TargetFramework=$env:THIS_TFM |
| 418 | +
|
278 | 419 | # - name: Upload artifact |
279 | 420 | # uses: actions/upload-artifact@v7 |
280 | 421 | # with: |
|
0 commit comments