mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-11 05:07:58 +00:00
Adding GitHub actions for CI
This commit is contained in:
parent
82d9314302
commit
a872c6e1c3
27
.github/workflows/ccpp.yml
vendored
Normal file
27
.github/workflows/ccpp.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: C++ CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
paths-ignore:
|
||||||
|
- 'doc/**'
|
||||||
|
- 'examples/**'
|
||||||
|
- 'tools/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
fail-fast: true
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: ctest
|
||||||
|
run: |
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
ctest -C Debug --output-on-failure
|
12
.travis.yml
12
.travis.yml
@ -17,17 +17,7 @@ matrix:
|
|||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- name: osx and standalone cmake
|
- name: superproject cmake and b2 minimal
|
||||||
os: osx
|
|
||||||
language: cpp
|
|
||||||
before_script:
|
|
||||||
- mkdir build
|
|
||||||
- cd build
|
|
||||||
- cmake ..
|
|
||||||
script:
|
|
||||||
ctest -j2 --output-on-failure
|
|
||||||
|
|
||||||
- name: osx and superproject cmake and b2 minimal
|
|
||||||
os: osx
|
os: osx
|
||||||
language: cpp
|
language: cpp
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -78,7 +78,8 @@ boost_test(TYPE run SOURCES detail_static_if_test.cpp)
|
|||||||
boost_test(TYPE run SOURCES detail_tuple_slice_test.cpp)
|
boost_test(TYPE run SOURCES detail_tuple_slice_test.cpp)
|
||||||
boost_test(TYPE run SOURCES histogram_custom_axis_test.cpp)
|
boost_test(TYPE run SOURCES histogram_custom_axis_test.cpp)
|
||||||
boost_test(TYPE run SOURCES histogram_dynamic_test.cpp)
|
boost_test(TYPE run SOURCES histogram_dynamic_test.cpp)
|
||||||
boost_test(TYPE run SOURCES histogram_fill_test.cpp)
|
boost_test(TYPE run SOURCES histogram_fill_test.cpp
|
||||||
|
COMPILE_OPTIONS $<$<CXX_COMPILER_ID:MSVC>:/bigobj>)
|
||||||
boost_test(TYPE run SOURCES histogram_growing_test.cpp)
|
boost_test(TYPE run SOURCES histogram_growing_test.cpp)
|
||||||
boost_test(TYPE run SOURCES histogram_mixed_test.cpp)
|
boost_test(TYPE run SOURCES histogram_mixed_test.cpp)
|
||||||
boost_test(TYPE run SOURCES histogram_operators_test.cpp)
|
boost_test(TYPE run SOURCES histogram_operators_test.cpp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user