Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Jamfile & YAML scripts #33

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# (See accompanying file LICENSE_1_0.txt or copy at
# http://boost.org/LICENSE_1_0.txt)

dist: xenial
language: cpp

python: "2.7"
Expand Down Expand Up @@ -190,7 +191,7 @@ matrix:
- clang-4.0
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
- llvm-toolchain-xenial-4.0

- os: linux
compiler: clang++-5.0
Expand All @@ -201,36 +202,49 @@ matrix:
- clang-5.0
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
- llvm-toolchain-xenial-5.0

- os: linux
compiler: clang++-6.0
env: TOOLSET=clang COMPILER=clang++-6.0 CXXSTD=03,11,14,1z
env: TOOLSET=clang COMPILER=clang++-6.0 CXXSTD=03,11,14,1z,2a
addons:
apt:
packages:
- clang-6.0
- libc6-dbg
- libc++-dev
- libstdc++-8-dev
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
- llvm-toolchain-xenial-6.0

- os: linux
compiler: clang++
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z
compiler: clang++-7
env: TOOLSET=clang COMPILER=clang++-7 CXXSTD=14,1z,2a
addons:
apt:
packages:
- libstdc++-5-dev
- clang-7
- libc6-dbg
- libc++-dev
- libstdc++-8-dev
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-xenial-7

- os: linux
compiler: clang++-libc++
env: TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,1z
compiler: clang++-8
env: TOOLSET=clang COMPILER=clang++-8 CXXSTD=14,1z,2a
addons:
apt:
packages:
- clang-8
- libc6-dbg
- libc++-dev
- libstdc++-8-dev
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-xenial-8

- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z
Expand Down
10 changes: 5 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ environment:
PATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
- ARGS: --toolset=gcc address-model=64 cxxflags=-std=gnu++1z
PATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
ARGS: --toolset=msvc-9.0 address-model=32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
ARGS: --toolset=msvc-10.0 address-model=32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
ARGS: --toolset=msvc-11.0 address-model=32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
ARGS: --toolset=msvc-12.0 address-model=32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
ARGS: --toolset=msvc-12.0 address-model=64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
ARGS: --toolset=msvc-14.0 address-model=32
Expand Down
33 changes: 17 additions & 16 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ feature.compose <iterator_debugging>off

project
: requirements
<library>/boost/serialization
<library>/boost/test//boost_unit_test_framework
<link>static
<include>../../..
<toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
# MSVC's iterator debugging causes some tests to run forever.
<toolset>msvc:<iterator_debugging>off
<toolset>intel-win:<iterator_debugging>off
<cxxflags>"-Wno-deprecated-declarations"
<library>/boost/serialization
# MSVC's cl throws command line error D8021 : invalid numeric argument
<toolset>gcc:<cxxflags>"-Wno-deprecated-declarations"
<toolset>clang:<cxxflags>"-Wno-deprecated-declarations"
;

alias accumulators_regular_tests
Expand All @@ -49,8 +49,6 @@ alias accumulators_regular_tests
[ run rolling_count.cpp ]
[ run rolling_sum.cpp ]
[ run rolling_mean.cpp ]
[ run rolling_variance.cpp ]
[ run rolling_moment.cpp ]
[ run skewness.cpp ]
[ run sum.cpp ]
[ run sum_kahan.cpp ]
Expand All @@ -71,6 +69,7 @@ alias accumulators_regular_tests
[ run weighted_sum.cpp ]
[ run weighted_sum_kahan.cpp ]
[ run weighted_variance.cpp ]
: <link>static
;

alias accumulators_test_valarray
Expand All @@ -86,7 +85,7 @@ alias accumulators_test_valarray
;

alias accumulators_test_valarray
: [ run valarray.cpp ]
: [ run valarray.cpp : : : <link>static ]
;

alias accumulators_test_tail_variate_means
Expand All @@ -96,21 +95,23 @@ alias accumulators_test_tail_variate_means
;

alias accumulators_test_tail_variate_means
: [ run tail_variate_means.cpp ]
: [ run tail_variate_means.cpp : : : <link>static ]
;

alias accumulators_tests_pot_quantile_and_weighted_tail
alias accumulators_tests_that_fail_with_gcc4_4
:
: <target-os>linux
<toolset>gcc
<toolset-gcc:version>4.4.7
;

alias accumulators_tests_pot_quantile_and_weighted_tail
: [ run pot_quantile.cpp ]
[ run weighted_pot_quantile.cpp ]
[ run weighted_tail_mean.cpp ]
[ run weighted_tail_quantile.cpp ]
alias accumulators_tests_that_fail_with_gcc4_4
: [ run pot_quantile.cpp : : : <link>static ]
[ run rolling_moment.cpp : : : <link>static ]
[ run rolling_variance.cpp : : : <link>static ]
[ run weighted_pot_quantile.cpp : : : <link>static ]
[ run weighted_tail_mean.cpp : : : <link>static ]
[ run weighted_tail_quantile.cpp : : : <link>static ]
;

alias accumulators_test_weighted_tail_variate_means
Expand All @@ -127,13 +128,13 @@ alias accumulators_test_weighted_tail_variate_means
;

alias accumulators_test_weighted_tail_variate_means
: [ run weighted_tail_variate_means.cpp ]
: [ run weighted_tail_variate_means.cpp : : : <link>static ]
;

test-suite "accumulators"
: accumulators_regular_tests
accumulators_test_valarray
accumulators_test_tail_variate_means
accumulators_tests_pot_quantile_and_weighted_tail
accumulators_tests_that_fail_with_gcc4_4
accumulators_test_weighted_tail_variate_means
;