mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-09 23:04:07 +00:00
fix ci build (#348)
This commit is contained in:
parent
f6577ec473
commit
c234637336
9
.github/workflows/fast.yml
vendored
9
.github/workflows/fast.yml
vendored
@ -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
|
||||
|
4
.github/workflows/slow.yml
vendored
4
.github/workflows/slow.yml
vendored
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user