File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,46 @@ jobs:
218218 with :
219219 path : integration-test
220220
221+ msbuild :
222+ needs : build-sentry-native
223+ name : MSBuild
224+ runs-on : windows-latest
225+
226+ steps :
227+ - name : Checkout
228+ uses : actions/checkout@v4
229+ with :
230+ submodules : recursive
231+
232+ - name : Download sentry-native (Windows)
233+ uses : actions/cache/restore@v4
234+ with :
235+ path : src/Sentry/Platforms/Native/sentry-native
236+ key : sentry-native-Windows-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
237+ fail-on-cache-miss : true
238+ enableCrossOsArchive : true
239+
240+ - name : Setup Environment
241+ uses : ./.github/actions/environment
242+
243+ - name : Build Native Dependencies
244+ uses : ./.github/actions/buildnative
245+
246+ - name : Setup MSBuild
247+ uses : microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2
248+
249+ - name : Run MSBuild
250+ id : msbuild
251+ run : msbuild Sentry-CI-Build-Windows.slnf -t:Restore,Build -p:Configuration=Release --nologo -v:minimal -flp:logfile=msbuild.log -p:CopyLocalLockFileAssemblies=true -bl:msbuild.binlog
252+
253+ - name : Upload logs
254+ if : ${{ steps.msbuild.outcome != 'skipped' }}
255+ uses : actions/upload-artifact@v4
256+ with :
257+ name : ${{ matrix.target || runner.os }}-msbuild-logs
258+ path : |
259+ msbuild.log
260+ msbuild.binlog
221261
222262 trim-analysis :
223263 needs : build-sentry-native
You can’t perform that action at this time.
0 commit comments