From 3fbbf80e8cbb10772f761e33b36ab06ecfa1db36 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 12 Nov 2024 13:01:30 +0100 Subject: [PATCH] enable breakpad in cd on linux --- .github/workflows/cd.yml | 2 +- src/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 52bf054..8384360 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,7 +25,7 @@ jobs: run: sudo apt update && sudo apt -y install libsodium-dev cmake libvpx-dev libopus-dev - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DTOMATO_TOX_AV=ON + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DTOMATO_BREAKPAD=ON -DTOMATO_TOX_AV=ON - name: Build run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 -t tomato diff --git a/src/main.cpp b/src/main.cpp index 4ce7ffd..0303f23 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,6 +29,7 @@ int main(int argc, char** argv) { #ifdef TOMATO_BREAKPAD // TODO: maybe run before sys check? BREAKPAD_MAIN_INIT; + std::cout << "Breakpad handler installed.\n"; #endif // better args