File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,13 @@ jobs:
1616 image : ubuntu:24.04
1717
1818 steps :
19+ - name : Enable core dumps
20+ run : ulimit -c unlimited
1921 - uses : actions/checkout@v3
2022 - name : Install prerequisites
2123 run : |
2224 apt update
23- apt install -y build-essential g++ make cmake pkg-config git wget curl zip unzip tar
25+ apt install -y build-essential g++ make cmake pkg-config git wget curl zip unzip tar gdb
2426 - name : Install vcpkg
2527 run : |
2628 git clone https://github.com/microsoft/vcpkg.git /opt/vcpkg
3739 run : |
3840 cd /root/libcpp-http-client
3941 cmake --build build --config Release
40- - name : Run tests
42+ - name : Run tests with gdb
4143 run : |
4244 cd /root/libcpp-http-client
43- ./build/test/test
45+ gdb -ex "run" -ex "bt" -ex "quit" --args ./build/test/test
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ project(libcpp-http-client)
44
55set (CMAKE_CXX_STANDARD 17)
66set (CMAKE_CXX_STANDARD_REQUIRED ON )
7+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g" )
78
89add_library (libcpp-http-client INTERFACE )
910
You can’t perform that action at this time.
0 commit comments