diff --git a/appveyor.yml b/appveyor.yml index 3aa5c1b..e2c4d8c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,10 +38,16 @@ before_deploy: - tar cvaf "%SignedArtifact%.tar.gz" "distribute" - ps: Push-AppveyorArtifact "$env:SignedArtifact.tar.gz" + - appveyor DownloadFile "https://s3.amazonaws.com/getsentry-builds/getsentry/breakpad-tools/windows/breakpad-tools-windows.zip" -FileName "breakpadtools.zip" + - 7z x "breakpadtools.zip" > nul + - appveyor DownloadFile "https://github.com/getsentry/sentry-cli/releases/download/1.37.3/sentry-cli-Windows-i686.exe" -FileName "sentry-cli.exe" + + # Transform our .pdb files into .sym and upload each of them to sentry using sentry-cli + - cmd: tools\scripts\run-sentry-cli.cmd + test_script: - cmd: RelWithDebInfo\facemask-plugin-test.exe - deploy: - provider: S3 access_key_id: diff --git a/plugin/base64.cpp b/plugin/base64.cpp index 2450834..a2f0431 100644 --- a/plugin/base64.cpp +++ b/plugin/base64.cpp @@ -202,4 +202,3 @@ void zlib_decode(const std::vector& decoded, uint8_t* outbuf) { // yield ::Sleep(0); } - diff --git a/smll/DetectionResults.cpp b/smll/DetectionResults.cpp index 261a46e..fda0610 100644 --- a/smll/DetectionResults.cpp +++ b/smll/DetectionResults.cpp @@ -408,7 +408,6 @@ namespace smll { } } - } void DetectionResult::InitKalmanFilter() { diff --git a/tools/scripts/run-sentry-cli.cmd b/tools/scripts/run-sentry-cli.cmd new file mode 100644 index 0000000..9b74581 --- /dev/null +++ b/tools/scripts/run-sentry-cli.cmd @@ -0,0 +1,11 @@ +md syms + +rem -> copy all .pdb files from plugins dir +cd "\projects\source\build\distribute\slobs\RelWithDebInfo\data\obs-plugins\" +for /f %%f in ('dir /b "\projects\source\build\distribute\slobs\RelWithDebInfo\data\obs-plugins\*.pdb"') do "\projects\source\dump_syms.exe" %%f > "\projects\source\syms\%%~nf.sym" + +cd "\projects\source\" + +"sentry-cli.exe" --auth-token "d6526d57bb84421eaaeff7983639897de9a0c51ab5274cf4b89d3ad3944d3cbd" upload-dif --org streamlabs-obs --project obs-server "syms\" +"sentry-cli.exe" --auth-token "d6526d57bb84421eaaeff7983639897de9a0c51ab5274cf4b89d3ad3944d3cbd" upload-dif --org streamlabs-obs --project obs-server-preview "syms\" +"sentry-cli.exe" --auth-token "d6526d57bb84421eaaeff7983639897de9a0c51ab5274cf4b89d3ad3944d3cbd" upload-dif --org streamlabs-obs --project obs-client "syms\" \ No newline at end of file