Skip to content

Commit

Permalink
debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
anlambert committed Mar 20, 2024
1 parent 74ed6a6 commit b3e3cd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/macos-homebrew-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: mkdir build
- name: Configure Talipot core build with CMake
working-directory: ./build
run: cmake .. -DCMAKE_BUILD_TYPE=Release
run: cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_INSTALL_PREFIX=$PWD/install
-DCMAKE_C_COMPILER=${{ matrix.config.homebrew_path }}/opt/llvm/bin/clang
-DCMAKE_CXX_COMPILER=${{ matrix.config.homebrew_path }}/opt/llvm/bin/clang++
Expand All @@ -82,7 +82,10 @@ jobs:
run: make -j4 install
- name: Run Talipot core build unit tests
working-directory: ./build
run: make tests
run:
export TALIPOT_BUILD_DIR=$PWD && cd ./tests/plugins && lldb ./TalipotPluginsTestSuite
--batch -o 'run' -o 'thread backtrace all' -o 'quit' && exit 1

- name: Configure Talipot complete build with CMake
working-directory: ./build
run: cmake .
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/pluginstest.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
*
* Copyright (C) 2019-2022 The Talipot developers
* Copyright (C) 2019-2024 The Talipot developers
*
* Talipot is a fork of Tulip, created by David Auber
* and the Tulip development Team from LaBRI, University of Bordeaux
Expand Down Expand Up @@ -28,7 +28,7 @@ using namespace tlp;

int main() {

CrashHandler::install();
// CrashHandler::install();

string talipotBuildDir = TALIPOT_BUILD_DIR;

Expand Down

0 comments on commit b3e3cd7

Please sign in to comment.