Skip to content

Commit 8c05349

Browse files
committed
ci: test sentry plugin
1 parent 5e2bde2 commit 8c05349

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ jobs:
106106
build-type:
107107
- Debug
108108
- Release
109+
sentry-plugin:
110+
- 'off'
111+
- 'on-inproc'
112+
- 'on-crashpad-bundled'
113+
- 'on-crashped-unbundled'
109114
include:
110115
- graphics-backends: 'vulkan-only'
111116
enable-vulkan: 'on'
@@ -127,6 +132,27 @@ jobs:
127132

128133
- compiler: 'clang'
129134
clang-deps: 'clang'
135+
136+
- sentry-plugin: 'off'
137+
sentry-plugin-enable: 'off'
138+
sentry-deps: ''
139+
140+
- sentry-plugin: 'on-inproc'
141+
sentry-plugin-enable: 'on'
142+
sentry-backend: 'inproc'
143+
sentry-deps: 'libcurl4-openssl-dev'
144+
145+
- sentry-plugin: 'on-crashpad-bundled'
146+
sentry-plugin-enable: 'on'
147+
sentry-backend: 'crashpad'
148+
sentry-bundled-crashpad-handler: 'on'
149+
sentry-deps: 'libcurl4-openssl-dev'
150+
151+
- senty-plugin: 'on-crashped-unbundled'
152+
sentry-plugin-enable: 'on'
153+
sentry-backend: 'crashpad'
154+
sentry-bundled-crashpad-handler: 'off'
155+
sentry-deps: 'libcurl4-openssl-dev'
130156
steps:
131157
# git needs to be installed before checking out, otherwise the checkout will fallback to the REST API,
132158
# and the submodule download won't work.
@@ -138,7 +164,8 @@ jobs:
138164
libxkbcommon-dev ninja-build libgstreamer-plugins-base1.0-dev \
139165
${{ matrix.vulkan-deps }} \
140166
${{ matrix.opengl-deps }} \
141-
${{ matrix.clang-deps }}
167+
${{ matrix.clang-deps }} \
168+
${{ matrix.sentry-deps }}
142169
143170
- uses: actions/checkout@v3
144171
with:
@@ -156,6 +183,9 @@ jobs:
156183
-DENABLE_VULKAN=${{ matrix.enable-vulkan }} \
157184
-DENABLE_OPENGL=${{ matrix.enable-opengl }} \
158185
-DENABLE_TESTS=On \
186+
-DBUILD_SENTRY_PLUGIN=${{ matrix.sentry-plugin-enable }} \
187+
-DSENTRY_BACKEND=${{ matrix.sentry-backend }} \
188+
-DSENTRY_PLUGIN_BUNDLE_CRASHPAD_HANDLER=${{ matrix.sentry-bundled-crashpad-handler }} \
159189
-GNinja
160190
161191
- name: Build

0 commit comments

Comments
 (0)