Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
[ci] Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arntanguy committed Dec 4, 2023
1 parent 4e478e1 commit c92628e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest]
os: [ubuntu-18.04, ubuntu-20.04, macos-latest, windows-latest]
build-type: [Debug, RelWithDebInfo]
compiler: [gcc, clang]
exclude:
Expand All @@ -50,9 +50,13 @@ jobs:
compiler: ${{ matrix.compiler }}
build-type: ${{ matrix.build-type }}
ubuntu: |
apt: libeigen3-dev doxygen doxygen-latex libboost-all-dev
apt: libeigen3-dev doxygen doxygen-latex libboost-all-dev libspacevecalg-dev
apt-mirrors:
mc-rtc:
cloudsmith: mc-rtc/head
macos: |
brew: eigen boost pkg-config doxygen
brew-taps: mc-rtc/mc-rtc
brew: eigen boost pkg-config doxygen spacevecalg
windows: |
github:
- path: eigenteam/eigen-git-mirror
Expand Down
3 changes: 3 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
macro(add_test_simple NAME)
add_executable(${NAME} ${NAME}.cpp)
target_link_libraries(${NAME} PUBLIC Boost::unit_test_framework Boost::disable_autolinking gram_savitzky_golay)
if(NOT Boost_USE_STATIC_LIBS)
target_link_libraries(${NAME} PUBLIC Boost::dynamic_linking)
endif()
target_compile_definitions(${NAME} PRIVATE -DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)
add_test(${NAME} ${NAME})
# Adding a project configuration file (for MSVC only)
Expand Down

0 comments on commit c92628e

Please sign in to comment.