Skip to content

Commit 5506f9b

Browse files
committed
DEBUG
1 parent 4cb8974 commit 5506f9b

2 files changed

Lines changed: 2 additions & 97 deletions

File tree

.github/workflows/reusable.yml

Lines changed: 2 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -362,77 +362,7 @@ jobs:
362362
if is_true('ENABLE_POSIX'):
363363
all_jobs = [
364364
# libstdc++
365-
{"compiler": "gcc-4.4", "cxxstd": "98", "os": "ubuntu-latest", "container": "ubuntu:16.04", "source_keys": "0x2C277A0A352154E5", "sources": "ppa:ubuntu-toolchain-r/test"},
366-
{"compiler": "gcc-4.6", "cxxstd": "03,0x", "os": "ubuntu-latest", "container": "ubuntu:16.04", "source_keys": "0x2C277A0A352154E5", "sources": "ppa:ubuntu-toolchain-r/test"},
367-
{"compiler": "gcc-4.7", "cxxstd": "03,11", "os": "ubuntu-latest", "container": "ubuntu:16.04"},
368-
{"compiler": "gcc-4.8", "cxxstd": "11", "os": "ubuntu-latest", "container": "ubuntu:16.04"},
369-
{"compiler": "gcc-4.9", "cxxstd": "11", "os": "ubuntu-latest", "container": "ubuntu:16.04"},
370-
{"compiler": "gcc-5", "cxxstd": "11,14,1z", "os": "ubuntu-latest", "container": "ubuntu:18.04"},
371-
{"compiler": "gcc-6", "cxxstd": "11,14,17", "os": "ubuntu-latest", "container": "ubuntu:18.04"},
372-
{"compiler": "gcc-7", "cxxstd": "11,14,17", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
373-
{"compiler": "gcc-8", "cxxstd": "11,14,17,2a", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
374-
{"compiler": "gcc-9", "cxxstd": "11,14,17,2a", "os": "ubuntu-22.04"},
375-
{"compiler": "gcc-10", "cxxstd": "11,14,17,20", "os": "ubuntu-22.04"},
376-
{"compiler": "gcc-11", "cxxstd": "11,14,17,20", "os": "ubuntu-22.04"},
377-
{"compiler": "gcc-12", "cxxstd": "11,14,17,20", "os": "ubuntu-22.04"},
378-
{"compiler": "gcc-13", "cxxstd": "11,14,17,20,2b", "os": "ubuntu-24.04"},
379-
{"name": "Coverage w/ GCC on Linux", "coverage": "yes",
380-
"compiler": "gcc-13", "cxxstd": "2b", "os": "ubuntu-24.04", "install": "g++-13-multilib gcc-multilib", "address-model": "32,64" },
381-
{"name": "GCC w/ sanitizers", "sanitize": "yes",
382-
"compiler": "gcc-13", "cxxstd": "11,14,17,20", "os": "ubuntu-24.04"},
383-
{"compiler": "gcc-14", "cxxstd": "11,14,17,20,23", "os": "ubuntu-24.04"},
384-
{"compiler": "gcc-15", "cxxstd": "11,14,17,20,23,2c", "os": "ubuntu-latest", "container": "ubuntu:26.04"},
385-
{"compiler": "gcc-16", "cxxstd": "11,14,17,20,23,26", "os": "ubuntu-latest", "container": "ubuntu:26.04"},
386-
{"compiler": "clang-3.5", "cxxstd": "11", "os": "ubuntu-latest", "container": "ubuntu:16.04"},
387-
{"compiler": "clang-3.6", "cxxstd": "11,14", "os": "ubuntu-latest", "container": "ubuntu:16.04"},
388-
{"compiler": "clang-3.7", "cxxstd": "11,14", "os": "ubuntu-latest", "container": "ubuntu:16.04"},
389-
{"compiler": "clang-3.8", "cxxstd": "11,14", "os": "ubuntu-latest", "container": "ubuntu:16.04"},
390-
{"compiler": "clang-3.9", "cxxstd": "11,14", "os": "ubuntu-latest", "container": "ubuntu:18.04"},
391-
{"compiler": "clang-4.0", "cxxstd": "11,14", "os": "ubuntu-latest", "container": "ubuntu:18.04"},
392-
{"compiler": "clang-5.0", "cxxstd": "11,14,1z", "os": "ubuntu-latest", "container": "ubuntu:18.04"},
393-
{"compiler": "clang-6.0", "cxxstd": "11,14,17", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
394-
{"compiler": "clang-7", "cxxstd": "11,14,17", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
395-
{"compiler": "clang-8", "cxxstd": "11,14,17", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
396-
{"compiler": "clang-9", "cxxstd": "11,14,17,2a", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
397-
{"compiler": "clang-10", "cxxstd": "11,14,17,20", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
398-
{"compiler": "clang-11", "cxxstd": "11,14,17,20", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
399-
{"compiler": "clang-12", "cxxstd": "11,14,17,20", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
400-
{"compiler": "clang-13", "cxxstd": "11,14,17,20", "os": "ubuntu-latest", "container": "ubuntu:22.04"},
401-
{"compiler": "clang-14", "cxxstd": "11,14,17,20", "os": "ubuntu-latest", "container": "ubuntu:22.04"},
402-
{"compiler": "clang-15", "cxxstd": "11,14,17,20", "os": "ubuntu-latest", "container": "ubuntu:22.04"},
403365
{"compiler": "clang-16", "cxxstd": "11,14,17,20,2b", "os": "ubuntu-latest", "container": "ubuntu:24.04"},
404-
{"compiler": "clang-17", "cxxstd": "11,14,17,20,23", "os": "ubuntu-latest", "container": "ubuntu:24.04"},
405-
{"compiler": "clang-18", "cxxstd": "11,14,17,20,23,2c", "os": "ubuntu-24.04"},
406-
{"compiler": "clang-19", "cxxstd": "11,14,17,20,23,2c", "os": "ubuntu-24.04"},
407-
{"compiler": "clang-20", "cxxstd": "11,14,17,20,23,2c", "os": "ubuntu-latest", "container": "ubuntu:25.04"},
408-
{"compiler": "clang-21", "cxxstd": "11,14,17,20,23,2c", "os": "ubuntu-latest", "container": "ubuntu:26.04"},
409-
{"compiler": "clang-22", "cxxstd": "11,14,17,20,23,2c", "os": "ubuntu-latest", "container": "ubuntu:26.04"},
410-
{"compiler": "icpx-2025", "cxxstd": "11,14,17,20,23,2c", "os": "ubuntu-latest", "container": "intel/oneapi-hpckit:2025.2.2-0-devel-ubuntu24.04"},
411-
# libc++
412-
{"stdlib": "libc++",
413-
"compiler": "clang-6.0", "cxxstd": "11,14", "os": "ubuntu-latest", "container": "ubuntu:18.04", "install": "clang-6.0 libc++-dev libc++abi-dev"},
414-
{"stdlib": "libc++",
415-
"compiler": "clang-7", "cxxstd": "11,14,17", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
416-
{"name": "Clang w/ sanitizers", "sanitize": "yes", "stdlib": "libc++",
417-
"compiler": "clang-12", "cxxstd": "11,14,17,20", "os": "ubuntu-latest", "container": "ubuntu:20.04"},
418-
# MacOS
419-
{"name": "MacOS sanitize w/ clang",
420-
"os": "macos-14", "compiler": "clang", "cxxstd": "11,14,17,20,2b", "sanitize": "yes"},
421-
{"os": "macos-15", "compiler": "clang-16", "cxxstd": "11,14,17,20,2b", "xcode_app": "Xcode_16.2"},
422-
{"os": "macos-15", "compiler": "clang-18", "cxxstd": "11,14,17,20,2b"},
423-
{"os": "macos-26", "compiler": "clang-20", "cxxstd": "11,14,17,20,23,2c"},
424-
# Coverity
425-
{"name": "Coverity Scan w/ Clang on Linux", "coverity": "yes",
426-
"compiler": "clang-12", "cxxstd": "20", "os": "ubuntu-22.04", "ccache": "no"},
427-
# Arm64
428-
{"name": "ARM64 w/ GCC",
429-
"compiler": "gcc-13", "cxxstd": "11,14,17,20,2b", "os": "ubuntu-24.04-arm"},
430-
# Big-Endian
431-
{"name": "Big Endian w/ Clang on s390x", "multiarch": "yes",
432-
"compiler": "clang", "cxxstd": "17", "os": "ubuntu-latest", "ccache": "no", "distro": "fedora", "edition": "34", "arch": "s390x"},
433-
# Reflection
434-
{"name": "GCC 16 w/ reflection",
435-
"compiler": "gcc-16", "cxxstd": "26", "os": "ubuntu-latest", "container": "ubuntu:26.04", "reflection": "yes", "cxxflags": "-freflection"},
436366
]
437367
else:
438368
all_jobs = ()
@@ -441,7 +371,7 @@ jobs:
441371
# ═══════════════════════════════════════════════════════════════
442372
# Windows matrix
443373
# ═══════════════════════════════════════════════════════════════
444-
if is_true('ENABLE_WINDOWS'):
374+
if is_true('ENABLE_WINDOWS') and False:
445375
all_jobs = [
446376
{"toolset": "msvc-14.3", "cxxstd": "14,17,20,latest", "address-model": "32,64", "os": "windows-2022"},
447377
{"toolset": "msvc-14.5", "cxxstd": "14,17,20,latest", "address-model": "32,64", "os": "windows-2025-vs2026"},
@@ -474,7 +404,7 @@ jobs:
474404
# ═══════════════════════════════════════════════════════════════
475405
# CMake matrix
476406
# ═══════════════════════════════════════════════════════════════
477-
if is_true('ENABLE_CMAKE'):
407+
if is_true('ENABLE_CMAKE') and False:
478408
all_jobs = [
479409
{ "os": "ubuntu-latest", "build_shared": "ON", "build_type": "Debug", "generator": "Unix Makefiles" },
480410
{ "os": "ubuntu-latest", "build_shared": "OFF", "build_type": "Debug", "generator": "Unix Makefiles" },

src/boost_ci.cpp

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@
77

88
#define BOOST_BOOST_CI_SOURCE
99

10-
#include <boost/boost-ci/boost_ci.hpp>
11-
// Just some dependency on another Boost library
12-
#include <boost/atomic/atomic.hpp>
13-
14-
#if !(defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) || defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || defined(BOOST_NO_CXX11_AUTO_DECLARATIONS))
1510
#define BOOST_BOOST_CI_TEST_BIND_ISSUE
1611
#include <functional>
1712
#include <map>
18-
#endif
1913
#include <utility>
2014

2115
// Some simple struct big enough so that the atomic is forced to use a lock
@@ -30,25 +24,6 @@ namespace boost
3024
{
3125
namespace boost_ci
3226
{
33-
// Some function to test
34-
int get_answer(const int isMsvc)
35-
{
36-
boost::atomic<X> answer;
37-
// Specifically crafted condition to check for coverage from MSVC and non MSVC builds
38-
if(isMsvc == 1)
39-
answer = X(21);
40-
else if(isMsvc == 0)
41-
answer = X(42);
42-
else
43-
throw example_error();
44-
#ifdef BOOST_NO_CXX11_SMART_PTR
45-
return answer.load().x;
46-
#else
47-
// Just use some stdlib feature combined with a Boost.Config feature as demonstration
48-
auto ptr = std::unique_ptr<int>(new int(answer.load().x));
49-
return *ptr;
50-
#endif
51-
}
5227

5328
#ifdef BOOST_BOOST_CI_TEST_BIND_ISSUE
5429
// Reproducer for a bug observed in Clang 16 with libstdc++

0 commit comments

Comments
 (0)