-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f28729
commit 79f8bb7
Showing
4 changed files
with
158 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Fast | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
paths-ignore: | ||
- 'doc/**' | ||
- 'examples/**' | ||
- 'tools/**' | ||
- '*.md' | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
paths-ignore: | ||
- 'doc/**' | ||
- 'examples/**' | ||
- 'tools/**' | ||
- '*.md' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
cmake: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
fail-fast: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: prepare build | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_BUILD_TYPE=Debug .. | ||
- name: test | ||
run: | | ||
cd build | ||
cmake --build . --target check -j3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
name: Slow | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
paths-ignore: | ||
- 'doc/**' | ||
- 'tools/**' | ||
- '*.md' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
B2_OPTS: -q -j2 warnings-as-errors=on | ||
UBSAN_OPTIONS: print_stacktrace=1 | ||
LSAN_OPTIONS: verbosity=1:log_threads=1 | ||
ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1 | ||
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} | ||
|
||
jobs: | ||
appleclang: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Fetch Boost superproject | ||
run: | | ||
cd .. | ||
git clone -b $GITHUB_BASE_REF --depth 5 https://github.com/boostorg/boost.git | ||
cd boost | ||
mv -f $GITHUB_WORKSPACE/* libs/histogram | ||
git submodule update --init --depth 5 tools/build tools/boostdep | ||
python tools/boostdep/depinst/depinst.py --git_args "--depth 5 --jobs 3" histogram | ||
mv -f * $GITHUB_WORKSPACE | ||
- name: Prepare b2 | ||
run: ./bootstrap.sh | ||
- name: Test cxxstd=14 exception-handling=off rtti=off | ||
run: | | ||
cd libs/histogram | ||
../../b2 $B2_OPTS cxxstd=14 exception-handling=off rtti=off test//minimal | ||
- name: Test cxxstd=17 | ||
run: | | ||
cd libs/histogram | ||
../../b2 $B2_OPTS cxxstd=17 test//all | ||
gcc5: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: egor-tensin/setup-gcc@v1 | ||
with: | ||
version: 5 | ||
- name: Fetch Boost superproject | ||
run: | | ||
cd .. | ||
git clone -b $GITHUB_BASE_REF --depth 5 https://github.com/boostorg/boost.git | ||
cd boost | ||
mv -f $GITHUB_WORKSPACE/* libs/histogram | ||
git submodule update --init --depth 5 tools/build tools/boostdep | ||
python tools/boostdep/depinst/depinst.py --git_args "--depth 5 --jobs 3" histogram | ||
mv -f * $GITHUB_WORKSPACE | ||
- name: Prepare b2 | ||
run: ./bootstrap.sh | ||
- name: Test cxxstd=14 (warnings ignored) | ||
run: | | ||
cd libs/histogram | ||
../../b2 -q -j2 toolset=gcc-5 cxxstd=14 test//all examples | ||
gcc10: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Fetch Boost superproject | ||
run: | | ||
cd .. | ||
git clone -b $GITHUB_BASE_REF --depth 5 https://github.com/boostorg/boost.git | ||
cd boost | ||
mv -f $GITHUB_WORKSPACE/* libs/histogram | ||
git submodule update --init --depth 5 tools/build tools/boostdep | ||
python tools/boostdep/depinst/depinst.py --git_args "--depth 5 --jobs 3" histogram | ||
mv -f * $GITHUB_WORKSPACE | ||
- name: Prepare b2 | ||
run: ./bootstrap.sh | ||
- name: Test cxxstd=20 -O3 -funsafe-math-optimizations | ||
run: | | ||
cd libs/histogram | ||
../../b2 $B2_OPTS toolset=gcc-10 cxxstd=20 cxxflags="-O3 -funsafe-math-optimizations" test//all examples | ||
clang14: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Fetch Boost superproject | ||
run: | | ||
cd .. | ||
git clone -b $GITHUB_BASE_REF --depth 5 https://github.com/boostorg/boost.git | ||
cd boost | ||
mv -f $GITHUB_WORKSPACE/* libs/histogram | ||
git submodule update --init --depth 5 tools/build tools/boostdep | ||
python tools/boostdep/depinst/depinst.py --git_args "--depth 5 --jobs 3" histogram | ||
mv -f * $GITHUB_WORKSPACE | ||
- name: Prepare b2 | ||
run: ./bootstrap.sh | ||
- name: Test cxxstd=17 ubsan asan | ||
run: | | ||
cd libs/histogram | ||
../../b2 $B2_OPTS toolset=clang-14 cxxstd=17 variant=histogram_ubasan test//all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters