enable breakpad in cd on linux

This commit is contained in:
Green Sky 2024-11-12 13:01:30 +01:00
parent 281e681bf8
commit 3fbbf80e8c
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ jobs:
run: sudo apt update && sudo apt -y install libsodium-dev cmake libvpx-dev libopus-dev run: sudo apt update && sudo apt -y install libsodium-dev cmake libvpx-dev libopus-dev
- name: Configure CMake - 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 - name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 -t tomato run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 -t tomato

View File

@ -29,6 +29,7 @@ int main(int argc, char** argv) {
#ifdef TOMATO_BREAKPAD #ifdef TOMATO_BREAKPAD
// TODO: maybe run before sys check? // TODO: maybe run before sys check?
BREAKPAD_MAIN_INIT; BREAKPAD_MAIN_INIT;
std::cout << "Breakpad handler installed.\n";
#endif #endif
// better args // better args