enable breakpad in cd on linux
This commit is contained in:
parent
281e681bf8
commit
3fbbf80e8c
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user