Skip to content

Commit 77b5903

Browse files
committed
Add workflow job for building Core libraries
1 parent 6820cec commit 77b5903

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,68 @@ jobs:
194194
-p:Platform="Any CPU" `
195195
-p:Configuration=$env:CONFIGURATION
196196
197+
# - name: Upload artifact
198+
# uses: actions/upload-artifact@v7
199+
# with:
200+
# name: ''
201+
# path: ''
202+
203+
# Builds the SecureFolderFS SDK libraries
204+
core:
205+
needs: [shared, lib]
206+
runs-on: windows-2025-vs2026
207+
strategy:
208+
fail-fast: false
209+
matrix:
210+
configuration: [Release, Debug]
211+
project: [Dokany, FileSystem, FUSE, WebDav, WinFsp, Core, Cryptography, Migration]
212+
targetFramework: [net10.0]
213+
include:
214+
- configuration: Release
215+
project: MobileFS
216+
targetFramework: net10.0-android
217+
- configuration: Debug
218+
project: MobileFS
219+
targetFramework: net10.0-android
220+
- configuration: Release
221+
project: MobileFS
222+
targetFramework: net10.0-ios
223+
- configuration: Debug
224+
project: MobileFS
225+
targetFramework: net10.0-ios
226+
env:
227+
CONFIGURATION: ${{ matrix.configuration }}
228+
PROJECT: ${{ matrix.project }}
229+
THIS_PROJECT_PATH: ${{ github.workspace }}\src\Core\SecureFolderFS.Core.${{ matrix.project }}
230+
THIS_TFM: ${{ matrix.targetFramework }}
231+
232+
steps:
233+
- name: Checkout the repository
234+
uses: actions/checkout@v6
235+
with:
236+
submodules: recursive
237+
238+
- name: Install Dependencies
239+
uses: "./.github/install_dependencies"
240+
with:
241+
dotnet-version: ${{ env.DOTNET_SDK }}
242+
run-uno-check: false
243+
244+
- name: Restore
245+
run: |
246+
msbuild $env:SOLUTION_PATH `
247+
-t:Restore `
248+
-p:Platform="Any CPU" `
249+
-p:Configuration=$env:CONFIGURATION
250+
251+
- name: Build
252+
run: |
253+
msbuild $env:THIS_PROJECT_PATH `
254+
-t:Build `
255+
-p:Platform="Any CPU" `
256+
-p:Configuration=$env:CONFIGURATION `
257+
-p:TargetFramework=$env:THIS_TFM
258+
197259
# - name: Upload artifact
198260
# uses: actions/upload-artifact@v7
199261
# with:

0 commit comments

Comments
 (0)