fix ci build (#348)

This commit is contained in:
Hans Dembinski 2021-11-07 13:30:05 +01:00 committed by Hans Dembinski
parent f6577ec473
commit c234637336
3 changed files with 7 additions and 7 deletions

View File

@ -29,13 +29,12 @@ jobs:
fail-fast: true fail-fast: true
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: cmake - name: prepare build
run: | run: |
mkdir build mkdir build
cd build cd build
cmake .. cmake -DCMAKE_BUILD_TYPE=Debug ..
- name: ctest - name: test
run: | run: |
cd build cd build
cmake --build . -j3 --target tests # temporary workaround (I hope) cmake --build . --target check -j3
ctest -C Debug --output-on-failure

View File

@ -34,8 +34,8 @@ jobs:
- name: CMake from superproject - name: CMake from superproject
run: | run: |
cd .. cd ..
cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 $GITHUB_WORKSPACE cmake -DBoost_VERBOSE=1 $GITHUB_WORKSPACE
ctest -j2 --output-on-failure -R boost_histogram cmake --build . --target all -j3 -- -k
appleclang: appleclang:
runs-on: macos-latest runs-on: macos-latest

View File

@ -51,6 +51,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(BUILD_TESTING OFF) # do not build tests of dependencies set(BUILD_TESTING OFF) # do not build tests of dependencies
boost_fetch(boostorg/static_assert TAG develop EXCLUDE_FROM_ALL)
boost_fetch(boostorg/assert TAG develop EXCLUDE_FROM_ALL) # needed by core boost_fetch(boostorg/assert TAG develop EXCLUDE_FROM_ALL) # needed by core
boost_fetch(boostorg/config TAG develop EXCLUDE_FROM_ALL) boost_fetch(boostorg/config TAG develop EXCLUDE_FROM_ALL)
boost_fetch(boostorg/core TAG develop EXCLUDE_FROM_ALL) boost_fetch(boostorg/core TAG develop EXCLUDE_FROM_ALL)