Skip to content

Commit 561e670

Browse files
committed
Add workflow job for building SDK libraries
1 parent f36f089 commit 561e670

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,53 @@ 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+
THIS_PROJECT_PATH: ${{ github.workspace }}\src\Sdk\SecureFolderFS.${{ matrix.project }}
170+
171+
steps:
172+
- name: Checkout the repository
173+
uses: actions/checkout@v6
174+
with:
175+
submodules: recursive
176+
177+
- name: Install Dependencies
178+
uses: "./.github/install_dependencies"
179+
with:
180+
dotnet-version: ${{ env.DOTNET_SDK }}
181+
run-uno-check: false
182+
183+
- name: Restore
184+
run: |
185+
msbuild $env:SOLUTION_PATH `
186+
-t:Restore `
187+
-p:Platform="Any CPU" `
188+
-p:Configuration=$env:CONFIGURATION
189+
190+
- name: Build
191+
run: |
192+
msbuild $env:THIS_PROJECT_PATH `
193+
-t:Build `
194+
-p:Platform="Any CPU" `
195+
-p:Configuration=$env:CONFIGURATION
196+
150197
# - name: Upload artifact
151198
# uses: actions/upload-artifact@v7
152199
# with:

0 commit comments

Comments
 (0)