File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed
Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : ['*']
66 tags : ['*']
7- paths-ignore : ['docs/**', '.travis.yml']
7+ paths :
8+ - ' **'
9+ - ' !docs/**'
10+ - ' !.github/**'
11+ - ' .github/workflows/cppcmake.yml'
812 pull_request :
913 release :
1014 types : ['created']
Original file line number Diff line number Diff line change @@ -25,12 +25,14 @@ jobs:
2525
2626 steps :
2727 - uses : actions/checkout@v2
28- - name : Configure CMake
28+ - name : Install build toolchain
2929 run : |
3030 wget https://apt.llvm.org/llvm-snapshot.gpg.key
3131 echo "deb [signed-by=$PWD/llvm-snapshot.gpg.key] http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main" | sudo tee /etc/apt/sources.list.d/llvm.list
3232 sudo apt update
33- sudo apt install -y libpugixml-dev clang-13
33+ sudo apt install -y libpugixml-dev clang-13 gdb
34+ - name : Configure CMake
35+ run : |
3436 # linking a C++ library to a C program fails with ubsan enabled; disable lslver for this run
3537 sed -i -e'/lslver/d' CMakeLists.txt
3638 cmake --version
5456 - name : make
5557 run : cmake --build build --config RelWithDebInfo -j
5658
57- - name : unit tests (internal functions)
58- run : catchsegv build/testing/lsl_test_internal --order rand --wait-for-keypress never --durations yes
59- timeout-minutes : 10
60-
61- - name : unit tests (exported functions)
62- run : catchsegv build/testing/lsl_test_exported --order rand --wait-for-keypress never --durations yes
63- timeout-minutes : 10
64- if : ${{ success() || failure() }}
59+ - name : run unit tests
60+ run : |
61+ # alias gdbwrap="gdb --batch -ex 'run --order rand --wait-for-keypress never --durations yes' -ex 'thread apply all bt' -return-child-result"
62+ gdb --batch -ex 'run --order rand --wait-for-keypress never --durations yes' -ex 'thread apply all bt' -return-child-result build/testing/lsl_test_internal
63+ gdb --batch -ex 'run --order rand --wait-for-keypress never --durations yes' -ex 'thread apply all bt' -return-child-result build/testing/lsl_test_exported
64+ timeout-minutes : 15
You can’t perform that action at this time.
0 commit comments