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
steps:
- uses: actions/checkout@v2
- name: cmake
- name: prepare build
run: |
mkdir build
cd build
cmake ..
- name: ctest
cmake -DCMAKE_BUILD_TYPE=Debug ..
- name: test
run: |
cd build
cmake --build . -j3 --target tests # temporary workaround (I hope)
ctest -C Debug --output-on-failure
cmake --build . --target check -j3

View File

@ -34,8 +34,8 @@ jobs:
- name: CMake from superproject
run: |
cd ..
cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 $GITHUB_WORKSPACE
ctest -j2 --output-on-failure -R boost_histogram
cmake -DBoost_VERBOSE=1 $GITHUB_WORKSPACE
cmake --build . --target all -j3 -- -k
appleclang:
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
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/config TAG develop EXCLUDE_FROM_ALL)
boost_fetch(boostorg/core TAG develop EXCLUDE_FROM_ALL)