513 Commits

Author SHA1 Message Date
Andrey Semashev e513075061 Increased GHA timeout to avoid failures due to network issues. 2026-05-05 15:54:17 +03:00
Andrey Semashev cbecae6dd4 Merge pull request #39 from Flamefire/add-toolchain-ppa
Enable adding Ubuntu toolchain PPA by default
2026-05-05 15:52:49 +03:00
Alexander Grund 52255dc6f4 Enable adding Ubuntu toolchain PPA by default
The default in Boost.CI will be false but some jobs still rely on this, so keep it for now the default.
2026-05-05 14:02:38 +02:00
Andrey Semashev 2614263dda Merge pull request #38 from sdarwin/drone3
Drone: drone.sh
2026-04-29 00:04:15 +03:00
sdarwin e414310123 Drone: drone.sh 2026-04-28 19:15:03 +02:00
Andrey Semashev 4299761fcc Remove dependencies on Boost.StaticAssert.
Boost.StaticAssert has been merged into Boost.Config, so remove
the dependency.
boost-1.91.0.beta1 boost-1.91.0
2026-01-22 15:37:06 +03:00
Andrey Semashev fcb8d7868f Replaced macos-13 with macos-15 in GitHub Actions.
The macos-13 image is retired, macos-15 is now available.
2025-12-13 20:41:30 +03:00
Andrey Semashev 4d702c79a4 Merge pull request #37 from Flamefire/test-link-update
Update Link to regression test matrix in README
boost-1.90.0 boost-1.90.0.beta1
2025-08-25 19:05:33 +03:00
Alexander Grund 2a69c3f295 Update Link to regression test matrix in README 2025-08-25 17:26:21 +02:00
Andrey Semashev 772b55c290 Remove a workaround for MSVC 6.0.
That compiler is too ancient to support. And apparently, recent clang
complains about sprintf being deprecated.

Closes https://github.com/boostorg/integer/issues/36.
2025-08-22 00:42:28 +03:00
Andrey Semashev 0fefe9831a Use Azure mirrors of Ubuntu .deb repositories in containers.
This reduces the likelihood of spurious CI failures caused by DDoS filters
being triggered by massive numbers of concurrent CI jobs.
boost-1.89.0
2025-06-13 03:41:04 +03:00
Andrey Semashev c4c7cafd41 Added new gcc and clang jobs to GitHub Actions. 2025-06-13 03:40:33 +03:00
Andrey Semashev b66e9a0aa8 Removed windows-2019 GitHub Actions jobs.
The windows-2019 image is deprecated and is about to be removed.
2025-06-13 03:38:43 +03:00
Andrey Semashev 5fd694fce2 Removed obsolete GHA images and C++03 jobs, added new compilers. 2025-04-19 18:33:56 +03:00
Andrey Semashev 2dfe66886d Add a comma before ellipsis in constexpr_swap.
gcc 15 complains that the comma is required before vararg ellipsis.

Fixes https://github.com/boostorg/integer/issues/35.
boost-1.88.0.beta1 boost-1.88.0 boost-1.87.0
2024-12-02 19:22:20 +03:00
Andrey Semashev b774aa0d9e Remove constexpr_min duplication. 2024-12-02 18:58:34 +03:00
Andrey Semashev fbaf2dee58 Added a missing dependency on Boost.TypeTraits to CMakeLists.txt. boost-1.87.0.beta1 2024-08-19 01:01:57 +03:00
René Ferdinand Rivera Morell 318a38efde Add support for modular build structure. (#34)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Update build deps.
2024-08-19 01:00:30 +03:00
Andrey Semashev f1d7f7f80f Removed legacy MinGW from AppVeyor CI.
Looks like gcc 5 that is installed in MinGW on AppVeyor CI is not compiled
with C99 standard library enabled, which results in C++11 std::to_string
functions not being available. These functions are required by
Boost.Multiprecision.

Since legacy MinGW is quite outdated and increasingly poorly supported
across Boost libraries, remove it from CI rather than adding yet another
special case for disabling Boost.Multiprecision tests.
2024-08-15 21:25:21 +03:00
Andrey Semashev b1b7f7c63d Raised compiler requirements for Boost.Multiprecision tests.
This is needed to avoid compilation errors caused by Boost.Math, as
it requires a C++14 compiler now.
2024-08-15 20:00:21 +03:00
Andrey Semashev c37a3402be Replaced macos-11 GHA image with 12, 13 and 14 since 11 is being removed. boost-1.86.0.beta1 boost-1.86.0 2024-05-21 01:15:50 +03:00
Andrey Semashev dea8e3445d Added clang-17 CI jobs. boost-1.85.0.beta1 boost-1.85.0 2024-02-06 00:14:04 +03:00
Andrey Semashev bf1db7ad75 Added Windows jobs to GHA CI. 2024-02-06 00:09:14 +03:00
Andrey Semashev 26c347560c Reduced CI job timeouts. 2024-02-05 23:56:53 +03:00
Andrey Semashev 23974e3087 Replaced actions/checkout usage with manual download commands.
This fixes the deprecation warnings for actions/checkout@v3. actions/checkout@v4
is not functional because of the upstream bug:

https://github.com/actions/checkout/issues/1590
2024-02-05 23:56:30 +03:00
Andrey Semashev e7ed9918c1 Remove C++03 CI jobs, use gcc-11 libstdc++ in clang-12 through 15. boost-1.84.0 2023-11-17 20:05:19 +03:00
Andrey Semashev becbd39cc4 Switch to boost::core::invoke_swap.
boost::swap is deprecated and will be removed. Use boost::core::invoke_swap
as a replacement.
boost-1.84.0.beta1
2023-09-03 00:24:44 +03:00
Andrey Semashev 28ba36fd3a Add clang-16 CI jobs, switch to clang-15 from stock Ubuntu repos. boost-1.83.0 boost-1.83.0.beta1 2023-06-05 03:16:14 +03:00
Andrey Semashev 8ce66ab37e Updated to GHA checkout@v3 to avoid deprecation warnings. boost-1.82.0.beta1 boost-1.82.0 boost-1.81.0.beta1 boost-1.81.0 2022-10-18 17:57:33 +03:00
Andrey Semashev d4157bdf38 GitHub Actions config update.
- Added gcc-12 and clang-14 through 15 jobs.
- Added C++23 testing for gcc and clang on Linux.
- Updated clang version for UBSAN job.
- Updated Ubuntu version for clang jobs to avoid having to use external APT
  repository.
- Updated python package installation for compatibility with Ubuntu 22.04.
2022-09-10 01:21:36 +03:00
Andrey Semashev 721fe9f562 Switched gcc-9 to ubuntu-20.04 GHA CI image. 2022-08-14 17:52:55 +03:00
Andrey Semashev 88457d2de5 Replaced ubuntu-18.04 GHA CI images with containers.
Also use ubuntu-latest image for jobs that are running in a container.
2022-08-14 13:55:47 +03:00
Andrey Semashev d22bf3ea37 Switch to macos-11 GHA image as macos-10.15 is deprecated. 2022-08-12 15:59:03 +03:00
Andrey Semashev c659255289 Added VS2022 job and C++20 and C++latest jobs to AppVeyor CI. boost-1.80.0.beta1 boost-1.80.0 2022-06-06 02:55:11 +03:00
Andrey Semashev 49195acf60 Enabled testing with GNU extensions in GitHub Actions. boost-1.79.0.beta1 boost-1.79.0 2022-01-16 18:29:54 +03:00
Andrey Semashev bc9b0e6177 Implemented integer_log2 in terms of countl_zero from Boost.Core.
This allows to use compiler intrinsics and specialized hardware
instructions to compute log2, which results in better performance.

Also, added tests for the generic implementation using Boost.Multiprecision
integers.

Closes https://github.com/boostorg/integer/issues/31.
2022-01-16 15:20:37 +03:00
Andrey Semashev c6564a2d2b Merge pull request #26 from bernardosulzbach/documentation-typo-fix
Fixed a typo in ::least
2022-01-15 22:19:23 +03:00
Andrey Semashev 16ef530fcf Use up to date includes for lightweight_test.hpp. 2021-12-21 20:45:00 +03:00
Andrey Semashev c5df07cb21 Simplified integer_log2 implementation.
Removed unnecessary template specializations, removed workaround for
compilers not supporting partial template specializations. Use unsigned
integers for bit counting, which allows to replace the division with
a shift.
2021-12-21 20:39:22 +03:00
Andrey Semashev a832e8fe65 Added a test for integer_log2. 2021-12-21 20:36:24 +03:00
Andrey Semashev 0cd1879903 Fixed a link to library docs and silenced b2 warning about unescaped character. boost-1.78.0 2021-11-19 18:25:39 +03:00
Andrey Semashev 4c1e36b023 Updated check for apt-add-repository capabilities.
In Ubuntu 20.04 there appeared an updated version of the
software-properties-common package in focal-updates, which ships a newer
apt-add-repository version that doesn't support -P/-S/-U command line arguments.

Since we cannot rely on package version checks to determine apt-add-repository
capabilities, we have to parse its --help output instead.

Also, made source list processing more protected against spaces.
2021-11-16 00:44:02 +03:00
Andrey Semashev cf25880755 Fixed git version check on Mac OS. boost-1.78.0.beta1 2021-09-26 20:39:29 +03:00
Andrey Semashev 5b23a363ae Updated links in README.md. 2021-09-15 22:14:36 +03:00
Andrey Semashev 4669ec7e78 Added GHA CI timeout. 2021-09-15 21:29:17 +03:00
Andrey Semashev ee1325ee11 Removed CMake tests from GHA config. 2021-09-12 20:34:44 +03:00
Andrey Semashev c3ba27a249 Added GitHub Actions links to README.md. 2021-09-12 20:25:22 +03:00
Andrey Semashev 2a78052e85 Added GitHub Actions config. 2021-09-12 20:21:17 +03:00
Andrey Semashev a92f2eb98f Updated test matrix icon for develop in README.md. 2021-09-12 19:53:12 +03:00
Andrey Semashev c972712386 Updated README.md to remove Travis CI and add other links. 2021-09-12 19:52:08 +03:00