Skip to content

Commit

Permalink
Update bcny-ci.yml
Browse files Browse the repository at this point in the history
Clean up the installation rules and use the CMake installation to ensure that we get all the content that we are in need of.
  • Loading branch information
compnerd authored and z2oh committed Mar 14, 2024
1 parent 40e71da commit 2d7156e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/bcny-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,9 @@ jobs:
run: cmake --build out --config RelWithDebInfo

- name: Stage Sentry
run: |
New-Item -ItemType Directory -Path sentry-native\bin\win64 -Force | Out-Null
New-Item -ItemType Directory -Path sentry-native\include -Force | Out-Null
New-Item -ItemType Directory -Path sentry-native\lib\win64 -Force | Out-Null
Copy-Item include\sentry.h sentry-native\include\
Copy-Item out\RelWithDebInfo\sentry.dll sentry-native\bin\win64\
Copy-Item out\RelWithDebInfo\sentry.pdb sentry-native\bin\win64\
Copy-Item out\crashpad_build\handler\RelWithDebInfo\crashpad_wer.dll sentry-native\bin\win64\
Copy-Item out\crashpad_build\handler\RelWithDebInfo\crashpad_wer.pdb sentry-native\bin\win64\
Copy-Item out\crashpad_build\handler\RelWithDebInfo\crashpad_handler.exe sentry-native\bin\win64\
Copy-Item out\RelWithDebInfo\sentry.lib sentry-native\lib\win64\
run: cmake --install out --config RelWithDebInfo --prefix sentry-native-development/usr

- uses: actions/upload-artifact@v3
with:
name: sentry-native-windows-${{ matrix.arch }}
path: sentry-native
path: sentry-native-development

0 comments on commit 2d7156e

Please sign in to comment.