Skip to content

Commit

Permalink
debug files testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulmathur001 committed Apr 10, 2024
1 parent 74b60cc commit 0095398
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-mudlet.yml
Expand Up @@ -50,9 +50,9 @@ jobs:
BOOST_ROOT: ${{github.workspace}}/3rdparty/boost
BOOST_URL: https://sourceforge.net/projects/boost/files/boost/1.83.0/boost_1_83_0.tar.bz2/download
SENTRY_ORG: mehul-mathur
SENTRY_PROJECT: native-qt
SENTRY_PROJECT: native-qt-mac
SENTRY_AUTH_TOKEN: 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
SENTRY_DSN: https://9563ce1bb537cfd372a3b37cd24b8fd7@o4506746708361216.ingest.us.sentry.io/4506746710261760
SENTRY_DSN: https://862262634976c37a509b4ff8041dbbcb@o4506746708361216.ingest.us.sentry.io/4507063727620096

steps:
- name: Checkout Mudlet source code
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -717,7 +717,7 @@ if(APPLE)
TARGET mudlet POST_BUILD
COMMAND curl -sL https://sentry.io/get-cli/ | sh
COMMAND sentry-cli login --auth-token $ENV{SENTRY_AUTH_TOKEN}
COMMAND sentry-cli debug-files upload -o $ENV{SENTRY_ORG} -p $ENV{SENTRY_PROJECT} ${mudlet_BINARY_DIR} --wait
COMMAND sentry-cli debug-files upload --include-sources -o $ENV{SENTRY_ORG} -p $ENV{SENTRY_PROJECT} ${mudlet_BINARY_DIR} --wait
WORKING_DIRECTORY ${mudlet_BINARY_DIR}
COMMENT "Uploading debug files to Sentry"
)
Expand Down
1 change: 1 addition & 0 deletions src/main.cpp
Expand Up @@ -166,6 +166,7 @@ void initSentry() {
sentry_options_t *options = sentry_options_new();
sentry_options_set_dsn(options, sentryDsnCStr);
sentry_options_set_handler_path(options, "./crashpad_handler");
sentry_options_set_release(options, "Mudlet@" + APP_VERSION);

Check failure on line 169 in src/main.cpp

View workflow job for this annotation

GitHub Actions / macos / c++, lua tests

invalid operands to binary expression ('const char[8]' and 'const char[7]')
sentry_options_set_debug(options, 1);
sentry_init(options);

Expand Down

0 comments on commit 0095398

Please sign in to comment.