Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
638bfc4
Added nu expansion
JacobHass8 Feb 17, 2026
3c176f1
Added try/catch statement
JacobHass8 Feb 17, 2026
8b5b1fd
Accepted review comments to copy code from ibeta_fraction2
JacobHass8 Feb 18, 2026
12047b6
Added some sparse testing
JacobHass8 Feb 19, 2026
1611bae
Relaxed tests
JacobHass8 Feb 20, 2026
44cbb53
Initial implementation/test of find_v1
JacobHass8 Feb 20, 2026
3eb7561
Added v2 finder
JacobHass8 Feb 21, 2026
4801654
Included edge cases for code coverage [ci skip]
JacobHass8 Feb 21, 2026
92dfc34
Added error message output [apple]
JacobHass8 Feb 22, 2026
cbf53f8
Fixed error message in test_ibeta [macos]
JacobHass8 Feb 22, 2026
bffd923
Added debugging print statements [apple]
JacobHass8 Mar 1, 2026
486fc14
Included iostream for testing [apple]
JacobHass8 Mar 1, 2026
552284c
Added more debugging info
JacobHass8 Mar 2, 2026
4042e66
Added more debugging info for continued fraction
JacobHass8 Mar 2, 2026
89a3455
Got rid of int upcasting in ibeta_fraction2_t
JacobHass8 Mar 2, 2026
050a24a
More debug output for continued fraction
JacobHass8 Mar 2, 2026
3c6f6ae
Added debug for lanczos approximation
JacobHass8 Mar 2, 2026
ca4bda3
Manual type promotion for arcsine distribution
JacobHass8 Mar 6, 2026
d0004ea
Added typename to definitions and fixed undeclared result
JacobHass8 Mar 6, 2026
99b6d45
Added evaluation_t shorthand
JacobHass8 Mar 6, 2026
423874d
A couple of bug fixes
JacobHass8 Mar 6, 2026
89b393f
[ci skip] Added missing bracket
JacobHass8 Mar 6, 2026
5e75917
Fixed typo in complement quantile
JacobHass8 Mar 7, 2026
8e919f2
Accepted review comments; testing code coverage
JacobHass8 Mar 7, 2026
d1eff51
Removed debugging information
JacobHass8 Mar 8, 2026
e1bdcad
Removed failing tests and added code comments
JacobHass8 Mar 8, 2026
8fec9d9
Fix scalar div for octonions
mborland Mar 9, 2026
0074609
Add division test suite mirroring multiplication
mborland Mar 9, 2026
a516192
Make general port of patch file from vcpkg
mborland Mar 9, 2026
9904808
Fix linking of config and installation
mborland Mar 9, 2026
7043cf3
Add quick test for cmake install and subdir
mborland Mar 9, 2026
c3a3040
Add cmake install and subdir tests
mborland Mar 9, 2026
cca3167
Add legacy c file intall and subdir tests
mborland Mar 9, 2026
43ba867
Add cmake subdir and install tests to CI
mborland Mar 9, 2026
41b70c2
Merge pull request #1375 from boostorg/1374
mborland Mar 9, 2026
7bb5ceb
Merge pull request #1376 from boostorg/1329
mborland Mar 10, 2026
6f59f38
Correct ellint_2 for N * PI / 2 phi argument.
jzmaddock Mar 11, 2026
c793e1c
Ellint2: Simplify fix.
jzmaddock Mar 12, 2026
7d3d1c6
Merge pull request #1378 from boostorg/issue1377
jzmaddock Mar 12, 2026
372c10b
Remove dead code and fix conceptual error.
jzmaddock Mar 15, 2026
c52fc09
Merge pull request #1373 from JacobHass8/dist-maintenance
jzmaddock Mar 15, 2026
918bb51
Reverted changes to ibeta_fraction2_t to use int for m
JacobHass8 Mar 15, 2026
9c00175
Merge pull request #1363 from JacobHass8/fix-ibeta-large-arguments
jzmaddock Mar 17, 2026
fd70189
Add user facing domain access
mborland Mar 17, 2026
9f8cf5c
Test domain function
mborland Mar 17, 2026
61fa6bb
Merge pull request #1381 from boostorg/1380
mborland Mar 17, 2026
883b7a1
[CI] Test legacy libraries with static and shared linkage
philippremy Mar 18, 2026
4aaeeac
[legacy] Allow building the legacy libraries in standalone mode
philippremy Mar 18, 2026
b1523d9
[legacy] Handle MinGW and fix build with shared linkage
philippremy Mar 18, 2026
cfe946f
Merge pull request #1382 from philippremy/develop
mborland Mar 18, 2026
c936a09
User must explicitly enable CUDA support via CMake
mborland Mar 30, 2026
f6ca42f
Fix naked NVRTC macro check
mborland Mar 30, 2026
d6368ee
Replace naked NVCC checks
mborland Mar 30, 2026
b0cef13
Add test set
mborland Mar 30, 2026
61e689d
Fix deprecated find package in CML
mborland Mar 30, 2026
e452571
Update CI script
mborland Mar 30, 2026
55d82b0
Fix copy-paste error
mborland Mar 30, 2026
ecf9fc1
Use more internal functions
mborland Mar 30, 2026
936df78
Add additional test this time with math's CUDA support
mborland Mar 30, 2026
1d9e927
Change macro definition
mborland Mar 30, 2026
625d767
Merge pull request #1384 from boostorg/1383
mborland Apr 3, 2026
727a077
Update gh actions checkout version
dschmitz89 Apr 19, 2026
e1108f6
Update boost math version
mborland Apr 23, 2026
df8bb08
Merge pull request #1387 from boostorg/Boost-192
mborland Apr 23, 2026
2c4580c
Allow fallthrough of Android to 128-bit float
mborland Apr 28, 2026
8d8f4e4
Match drone.sh to boost.sh
mborland Apr 28, 2026
74406e5
Simplify logic that we are asserting anyway
mborland Apr 28, 2026
05d9f24
Merge pull request #1390 from boostorg/1389
mborland Apr 30, 2026
03ba15a
constants: Protect F which is defined as a macro by some frameworks
cbicari Apr 30, 2026
ec801eb
Merge pull request #1391 from cbicari/patch-1
mborland May 1, 2026
f5b16da
Update drone runners OSes to not require use of toolchain PPA
mborland May 6, 2026
a23376a
Try bionic for Clangs 6,7,8
mborland May 6, 2026
cbe8b58
Merge pull request #1394 from boostorg/ppa
mborland May 6, 2026
f49ab98
InverseGaussian: Improve quantile behaviour. (#1395)
jzmaddock May 9, 2026
51efb17
constants: Protect F which is defined as a macro by some frameworks -…
cbicari May 11, 2026
99733eb
Merge pull request #1396 from cbicari/patch-2
mborland May 11, 2026
f724aec
ENH: add parameter finder for degrees or freedom for students_t distr…
dschmitz89 May 22, 2026
31197ca
Fix edge case short circuit logic in binomial distro inverse.
jzmaddock May 22, 2026
592063d
Merge pull request #1398 from boostorg/issue1397
jzmaddock May 22, 2026
04eace4
Added checks for multiple degrees of freedom
JacobHass8 May 24, 2026
d43d08c
Improved test coverage
JacobHass8 May 25, 2026
ceb66f5
Merge branch 'boostorg:develop' into nc-f-find-v1
JacobHass8 May 25, 2026
fbffcf0
Completed test coverage for arcsine distribution
JacobHass8 May 25, 2026
0d7c245
Added bernoulli distribution tests
JacobHass8 May 26, 2026
264487e
Added beta distribution
JacobHass8 May 26, 2026
96f7df8
Added som basic binomial tests
JacobHass8 May 26, 2026
f2b43c2
Added nan handling for binomial distribution
JacobHass8 May 26, 2026
2b07b7a
Added cauchy tests
JacobHass8 May 27, 2026
5abd8a2
Added chi_squared distribution
JacobHass8 May 27, 2026
bfcc51c
Added exponential distribution tests
JacobHass8 May 27, 2026
3aa42a3
Added extreme value distribution
JacobHass8 May 28, 2026
ba0f274
Added find_location tests
JacobHass8 May 28, 2026
8d57c0b
Added find_scale
JacobHass8 May 28, 2026
7a0975e
Fixed find_location negative scale
JacobHass8 May 28, 2026
febada3
Merge pull request #1399 from JacobHass8/distribution-test-coverage
jzmaddock May 29, 2026
bdce34d
Added chi squared approximation
JacobHass8 Jun 2, 2026
a0bd79c
Changed to non-central chi-squared dist
JacobHass8 Jun 2, 2026
38ebc9a
ENH: add warm start for root finder
dschmitz89 Jun 8, 2026
ce29957
ENH: add initial guess for power equation inversion
dschmitz89 Jun 8, 2026
4426160
Fix type for testing small x
JacobHass8 Jun 9, 2026
13c0bc8
Merge pull request #1368 from JacobHass8/nc-f-find-v1
jzmaddock Jun 9, 2026
594f210
Merge branch 'find_degrees_of_freedom_initial_guess' of https://githu…
jzmaddock Jun 9, 2026
22da379
students_t: Add exception handling guards.
jzmaddock Jun 9, 2026
fecc83b
Guard against intermediate x*x overflow in Student's t pdf/cdf (#1402)
a-leontyev Jun 9, 2026
9a964b4
Merge pull request #1403 from dschmitz89/find_degrees_of_freedom_init…
jzmaddock Jun 9, 2026
b1f70c8
pFq: prevent spurious overflow.
jzmaddock Jun 11, 2026
31b1bc1
pFq: disable one new test for real_concept.
jzmaddock Jun 11, 2026
66d8681
DOC: Include the use of the bootstrap script to build b2 in README.md
WarrenWeckesser Jun 18, 2026
6dea961
Merge pull request #1408 from WarrenWeckesser/doc-readme-bootstrap-b2
mborland Jun 19, 2026
ad99070
Comment out dead code, tweak testing for more coverage.
jzmaddock Jun 19, 2026
45fe999
Try and get gcov to register lines we know are hit.
jzmaddock Jun 21, 2026
f695d39
Merge pull request #1406 from boostorg/issue1404
jzmaddock Jun 22, 2026
0cfea2f
Merge pull request #1386 from dschmitz89/ci_maintenance
mborland Jun 22, 2026
135e16b
Add reproducer test set
mborland Jun 30, 2026
bad351c
Add patch from issue
mborland Jun 30, 2026
188cccc
Merge pull request #1413 from boostorg/1412
mborland Jun 30, 2026
2d00b8c
Check all of special functions can be included under same conditions
mborland Jul 1, 2026
e06a6a6
Fix UB in sorting results with the cubic root finder
mborland Jul 1, 2026
9fbea69
Use the instantiate driver for better coverage
mborland Jul 1, 2026
fe74e79
Merge pull request #1416 from boostorg/1412pt2
mborland Jul 1, 2026
600627d
Merge pull request #1417 from boostorg/mac_roots
mborland Jul 1, 2026
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
16 changes: 8 additions & 8 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@ def main(ctx):
result.append(linux_cxx("Ubuntu g++-8 " + cxx + " " + suite, "g++-8", packages="g++-8", buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-8', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu g++-9 " + cxx + " " + suite, "g++-9", packages="g++-9", buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-9', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
for cxx in clang_6_stds:
result.append(linux_cxx("Ubuntu clang++-6 " + cxx + " " + suite, "clang++-6.0", packages="clang-6.0", llvm_os="xenial", llvm_ver="6.0", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-6.0', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-7 " + cxx + " " + suite, "clang++-7", packages="clang-7", llvm_os="xenial", llvm_ver="7", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-7', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-8 " + cxx + " " + suite, "clang++-8", packages="clang-8", llvm_os="xenial", llvm_ver="8", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-8', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-9 " + cxx + " " + suite, "clang++-9", packages="clang-9", llvm_os="xenial", llvm_ver="9", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-9', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-6 " + cxx + " " + suite, "clang++-6.0", packages="clang-6.0", llvm_os="bionic", llvm_ver="6.0", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-6.0', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-7 " + cxx + " " + suite, "clang++-7", packages="clang-7", llvm_os="bionic", llvm_ver="7", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-7', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-8 " + cxx + " " + suite, "clang++-8", packages="clang-8", llvm_os="bionic", llvm_ver="8", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-8', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-9 " + cxx + " " + suite, "clang++-9", packages="clang-9", llvm_os="focal", llvm_ver="9", buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-9', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
for cxx in gnu_9_stds:
result.append(linux_cxx("Ubuntu g++-10 " + cxx + " " + suite, "g++-10", packages="g++-10", buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu g++-11 " + cxx + " " + suite, "g++-11", packages="g++-11", buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-11', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu g++-10 " + cxx + " " + suite, "g++-10", packages="g++-10", buildtype="boost", image="cppalliance/droneubuntu2204:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu g++-11 " + cxx + " " + suite, "g++-11", packages="g++-11", buildtype="boost", image="cppalliance/droneubuntu2204:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-11', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu g++-12 " + cxx + " " + suite, "g++-12", packages="g++-12", buildtype="boost", image="cppalliance/droneubuntu2204:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-12', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-14 " + cxx + " " + suite, "clang++-14", packages="clang-14", llvm_os="jammy", llvm_ver="14", buildtype="boost", image="cppalliance/droneubuntu2204:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-14', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu clang++-15 " + cxx + " " + suite, "clang++-15", packages="clang-15", llvm_os="jammy", llvm_ver="15", buildtype="boost", image="cppalliance/droneubuntu2204:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-15', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
for cxx in clang_10_stds:
result.append(linux_cxx("Ubuntu clang++-10 " + cxx + " " + suite, "clang++-10", packages="clang-10", llvm_os="xenial", llvm_ver="10", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
for cxx in gnu_non_native:
result.append(linux_cxx("Ubuntu g++ s390s " + cxx + " " + suite, "g++", packages="g++", buildtype="boost", image="cppalliance/droneubuntu2204:multiarch", arch="s390x", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu g++ s390s " + cxx + " " + suite, "g++", packages="g++", buildtype="boost", image="cppalliance/droneubuntu2404:multiarch", arch="s390x", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
for cxx in gnu_non_native:
result.append(linux_cxx("Ubuntu g++ ARM64" + cxx + " " + suite, "g++", packages="g++", buildtype="boost", image="cppalliance/droneubuntu2204:multiarch", arch="arm64", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
result.append(linux_cxx("Ubuntu g++ ARM64" + cxx + " " + suite, "g++", packages="g++", buildtype="boost", image="cppalliance/droneubuntu2404:multiarch", arch="arm64", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
for cxx in gnu_non_native:
result.append(osx_cxx("M1 Clang " + cxx + " " + suite, "clang++", buildscript="drone", buildtype="boost", xcode_version="14.1", environment={'TOOLSET': 'clang', 'CXXSTD': cxx, 'TEST_SUITE': suite, 'DEFINE': 'BOOST_MATH_NO_REAL_CONCEPT_TESTS,BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS,BOOST_MATH_MULTI_ARCH_CI_RUN', }, globalenv=globalenv))
for suite in gcc13_things_to_test:
Expand Down
4 changes: 2 additions & 2 deletions .drone/drone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ echo '==================================> BEFORE_SCRIPT'
echo '==================================> SCRIPT'

echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD $OPTIONS ;" > ~/user-config.jam
(cd libs/config/test && ../../../b2 config_info_travis_install toolset=$TOOLSET && ./config_info_travis)
(cd libs/math/test && ../../../b2 toolset=$TOOLSET $TEST_SUITE define=$DEFINE)
(cd libs/config/test && ../../../b2 print_config_info print_math_info toolset=$TOOLSET)
(cd libs/math/test && ../../../b2 -j3 toolset=$TOOLSET $TEST_SUITE)

echo '==================================> AFTER_SUCCESS'

Expand Down
247 changes: 234 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
standard: [ c++20 ]
suite: [ github_ci_block_1, github_ci_block_2 ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Set TOOLSET
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
compiler: [ g++-13, clang++-19 ]
standard: [ c++14, c++17, c++20, c++23 ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Set TOOLSET
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
standard: [ 14, 17, 20 ]
suite: [ github_ci_block_1, github_ci_block_2 ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Checkout main boost
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
standard: [ 14 ]
suite: [ github_ci_block_1, github_ci_block_2 ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Checkout main boost
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
standard: [ 14, 17, latest ]
suite: [ github_ci_block_1, github_ci_block_2 ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Checkout main boost
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
env:
TOOLSET: gcc
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Install Cygwin
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
matrix:
compiler: [ g++-13 ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Add repository
Expand Down Expand Up @@ -345,7 +345,7 @@ jobs:
matrix:
compiler: [ clang++-19 ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Add repository
Expand Down Expand Up @@ -387,7 +387,7 @@ jobs:
standard: [ c++14, c++17, c++20, c++23 ]
suite: [ github_ci_block_1, github_ci_block_2 ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: '0'
- name: Set TOOLSET
Expand Down Expand Up @@ -448,7 +448,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install packages
if: matrix.install
Expand Down Expand Up @@ -486,6 +486,227 @@ jobs:
cd ../boost-root/__build__
cmake --build . --target tests

posix-cmake-subdir:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
- os: macos-15

runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v6

- name: Use library with add_subdirectory (header-only)
run: |
cd test/cmake_subdir_test
mkdir __build__ && cd __build__
cmake ..
cmake --build .
ctest --output-on-failure --no-tests=error

posix-cmake-subdir-legacy:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
- os: macos-15

runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v6

- name: Setup Boost
run: |
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
LIBRARY=${GITHUB_REPOSITORY#*/}
echo LIBRARY: $LIBRARY
echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
echo GITHUB_BASE_REF: $GITHUB_BASE_REF
echo GITHUB_REF: $GITHUB_REF
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
REF=${REF#refs/heads/}
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
mkdir -p libs/$LIBRARY
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY

- name: Use library with add_subdirectory (legacy compiled)
run: |
cd ../boost-root/libs/$LIBRARY/test/cmake_subdir_test_legacy
mkdir __build__ && cd __build__
cmake ..
cmake --build .
ctest --output-on-failure --no-tests=error

posix-cmake-install:
strategy:
fail-fast: false
matrix:
include:
- os: macos-15

runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v6

- name: Setup Boost
run: |
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
LIBRARY=${GITHUB_REPOSITORY#*/}
echo LIBRARY: $LIBRARY
echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
echo GITHUB_BASE_REF: $GITHUB_BASE_REF
echo GITHUB_REF: $GITHUB_REF
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
REF=${REF#refs/heads/}
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
mkdir -p libs/$LIBRARY
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY

- name: Configure
run: |
cd ../boost-root
mkdir __build__ && cd __build__
cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DCMAKE_INSTALL_PREFIX=~/.local ..

- name: Install
run: |
cd ../boost-root/__build__
cmake --build . --target install

- name: Use the installed library (header-only)
run: |
cd ../boost-root/libs/$LIBRARY/test/cmake_install_test
mkdir __build__ && cd __build__
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
cmake --build .
ctest --output-on-failure --no-tests=error

posix-cmake-install-legacy-static:
strategy:
fail-fast: false
matrix:
include:
- os: macos-15

runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v6

- name: Setup Boost
run: |
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
LIBRARY=${GITHUB_REPOSITORY#*/}
echo LIBRARY: $LIBRARY
echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
echo GITHUB_BASE_REF: $GITHUB_BASE_REF
echo GITHUB_REF: $GITHUB_REF
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
REF=${REF#refs/heads/}
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
mkdir -p libs/$LIBRARY
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY

- name: Configure
run: |
cd ../boost-root
mkdir __build__ && cd __build__
cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBOOST_MATH_BUILD_WITH_LEGACY_FUNCTIONS=ON -DCMAKE_INSTALL_PREFIX=~/.local ..

- name: Install
run: |
cd ../boost-root/__build__
cmake --build . --target install

- name: Use the installed library (legacy compiled)
run: |
cd ../boost-root/libs/$LIBRARY/test/cmake_install_test_legacy
mkdir __build__ && cd __build__
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
cmake --build .
ctest --output-on-failure --no-tests=error

posix-cmake-install-legacy-shared:
strategy:
fail-fast: false
matrix:
include:
- os: macos-15

runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v6

- name: Setup Boost
run: |
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
LIBRARY=${GITHUB_REPOSITORY#*/}
echo LIBRARY: $LIBRARY
echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
echo GITHUB_BASE_REF: $GITHUB_BASE_REF
echo GITHUB_REF: $GITHUB_REF
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
REF=${REF#refs/heads/}
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
mkdir -p libs/$LIBRARY
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY

- name: Configure
run: |
cd ../boost-root
mkdir __build__ && cd __build__
cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBOOST_MATH_BUILD_WITH_LEGACY_FUNCTIONS=ON -DCMAKE_INSTALL_PREFIX=~/.local -DBUILD_SHARED_LIBS=ON ..

- name: Install
run: |
cd ../boost-root/__build__
cmake --build . --target install

- name: Use the installed library (legacy compiled)
run: |
cd ../boost-root/libs/$LIBRARY/test/cmake_install_test_legacy
mkdir __build__ && cd __build__
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
cmake --build .
ctest --output-on-failure --no-tests=error

sycl-cmake-test:
strategy:
fail-fast: false
Expand All @@ -512,7 +733,7 @@ jobs:
printenv >> $GITHUB_ENV

- name: checkout project code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install Packages
run: |
Expand Down Expand Up @@ -570,7 +791,7 @@ jobs:
echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}"+
echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
nvcc -V
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install Packages
run: |
Expand Down Expand Up @@ -599,7 +820,7 @@ jobs:
run: |
cd ../boost-root
mkdir __build__ && cd __build__
cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBUILD_TESTING=ON -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DBOOST_MATH_ENABLE_CUDA=1 -DCMAKE_CUDA_ARCHITECTURES=86 -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12.8 ..
cmake -DBOOST_INCLUDE_LIBRARIES=$LIBRARY -DBUILD_TESTING=ON -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DBOOST_MATH_ENABLE_CUDA=1 -DCMAKE_CUDA_ARCHITECTURES="75;86" -DCMAKE_CUDA_STANDARD=17 ..
- name: Build tests
run: |
cd ../boost-root/__build__
Expand Down
Loading
Loading