From a296c579eadbd4958632070dad891154b9c3d9ea Mon Sep 17 00:00:00 2001 From: Stefano Cristiano Date: Wed, 14 Feb 2024 21:35:52 +0100 Subject: [PATCH] CI: Run SCTest in gdb to debug --- .github/workflows/linux.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5113da9c..e97a99c3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,9 +18,11 @@ jobs: - uses: actions/checkout@v4 - name: clang-format run: find . \( -iname \*.h -o -iname \*.cpp -o -iname \*.mm -o -iname \*.m -o -iname \*.inl \) | xargs clang-format-15 --dry-run -Werror + - name: install + run: sudo apt install -y gdb liburing-dev - name: configure run: ./SCBuild.sh - name: build run: make -j -C _Build/Projects/Make - name: test - run: _Build/Output/Posix-Any-Any-Makefile-Debug/SCTest + run: gdb --batch -ex "run" -ex "quit" --args _Build/Output/Posix-Any-Any-Makefile-Debug/SCTest