@@ -147,6 +147,134 @@ jobs:
147147 -p:Platform="Any CPU" `
148148 -p:Configuration=$env:CONFIGURATION
149149
150+ # - name: Upload artifact
151+ # uses: actions/upload-artifact@v7
152+ # with:
153+ # name: ''
154+ # path: ''
155+
156+ # Builds the SecureFolderFS SDK libraries
157+ sdk :
158+ needs : shared
159+ runs-on : windows-2025-vs2026
160+ strategy :
161+ fail-fast : false
162+ matrix :
163+ configuration : [Release, Debug]
164+ project : [Sdk, Accounts, DeviceLink, Dropbox, Ftp, GoogleDrive, WebDavClient]
165+ targetFramework : [net10.0]
166+ env :
167+ CONFIGURATION : ${{ matrix.configuration }}
168+ PROJECT : ${{ matrix.project }}
169+
170+ steps :
171+ - name : Checkout the repository
172+ uses : actions/checkout@v6
173+ with :
174+ submodules : recursive
175+
176+ - name : Install Dependencies
177+ uses : " ./.github/install_dependencies"
178+ with :
179+ dotnet-version : ${{ env.DOTNET_SDK }}
180+ run-uno-check : false
181+
182+ - name : Find appropriate project to build
183+ run : |
184+ if ($env:PROJECT -eq "Sdk") {
185+ $thisProject = "Sdk"
186+ } else {
187+ $thisProject = "Sdk.$env:PROJECT"
188+ }
189+ $thisProjectPath = "$env:WORKING_DIR\src\Sdk\SecureFolderFS.$thisProject"
190+ Add-Content -Path $env:GITHUB_ENV -Value "THIS_PROJECT_PATH=$thisProjectPath"
191+
192+ - name : Restore
193+ run : |
194+ msbuild $env:SOLUTION_PATH `
195+ -t:Restore `
196+ -p:Platform="Any CPU" `
197+ -p:Configuration=$env:CONFIGURATION
198+
199+ - name : Build
200+ run : |
201+ msbuild $env:THIS_PROJECT_PATH `
202+ -t:Build `
203+ -p:Platform="Any CPU" `
204+ -p:Configuration=$env:CONFIGURATION
205+
206+ # - name: Upload artifact
207+ # uses: actions/upload-artifact@v7
208+ # with:
209+ # name: ''
210+ # path: ''
211+
212+ # Builds the SecureFolderFS Core libraries
213+ core :
214+ needs : [shared, lib]
215+ runs-on : windows-2025-vs2026
216+ strategy :
217+ fail-fast : false
218+ matrix :
219+ configuration : [Release, Debug]
220+ project : [Dokany, FileSystem, FUSE, WebDav, WinFsp, Core, Cryptography, Migration]
221+ targetFramework : [net10.0]
222+ include :
223+ - configuration : Release
224+ project : MobileFS
225+ targetFramework : net10.0-android
226+ - configuration : Debug
227+ project : MobileFS
228+ targetFramework : net10.0-android
229+ - configuration : Release
230+ project : MobileFS
231+ targetFramework : net10.0-ios
232+ - configuration : Debug
233+ project : MobileFS
234+ targetFramework : net10.0-ios
235+ env :
236+ CONFIGURATION : ${{ matrix.configuration }}
237+ PROJECT : ${{ matrix.project }}
238+ THIS_PROJECT_PATH : ${{ github.workspace }}\src\Core\SecureFolderFS.Core.${{ matrix.project }}
239+ THIS_TFM : ${{ matrix.targetFramework }}
240+
241+ steps :
242+ - name : Checkout the repository
243+ uses : actions/checkout@v6
244+ with :
245+ submodules : recursive
246+
247+ - name : Install Dependencies
248+ uses : " ./.github/install_dependencies"
249+ with :
250+ dotnet-version : ${{ env.DOTNET_SDK }}
251+ run-uno-check : false
252+
253+ - name : Find appropriate project to build
254+ run : |
255+ if ($env:PROJECT -eq "Core") {
256+ $thisProject = "Core"
257+ } else {
258+ $thisProject = "Core.$env:PROJECT"
259+ }
260+ $thisProjectPath = "$env:WORKING_DIR\src\Core\SecureFolderFS.$thisProject"
261+ Add-Content -Path $env:GITHUB_ENV -Value "THIS_PROJECT_PATH=$thisProjectPath"
262+
263+ - name : Restore
264+ run : |
265+ msbuild $env:SOLUTION_PATH `
266+ -t:Restore `
267+ -p:Platform="Any CPU" `
268+ -p:Configuration=$env:CONFIGURATION
269+
270+ - name : Build
271+ run : |
272+ msbuild $env:THIS_PROJECT_PATH `
273+ -t:Build `
274+ -p:Platform="Any CPU" `
275+ -p:Configuration=$env:CONFIGURATION `
276+ -p:TargetFramework=$env:THIS_TFM
277+
150278# - name: Upload artifact
151279# uses: actions/upload-artifact@v7
152280# with:
0 commit comments