@@ -19,12 +19,72 @@ concurrency:
19
19
cancel-in-progress : true
20
20
21
21
jobs :
22
+ ubuntu-noble :
23
+ runs-on : ubuntu-24.04
24
+ strategy :
25
+ fail-fast : false
26
+ matrix :
27
+ compiler : [ g++-13, g++-14, clang++-17, clang++-18 ]
28
+ standard : [ c++20, c++23 ]
29
+ suite : [ github_ci_block_1, github_ci_block_2 ]
30
+ steps :
31
+ - uses : actions/checkout@v4
32
+ with :
33
+ fetch-depth : ' 0'
34
+ - name : Set TOOLSET
35
+ run : echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV
36
+ - name : Add repository
37
+ continue-on-error : true
38
+ id : addrepo
39
+ run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
40
+ - name : Retry Add Repo
41
+ continue-on-error : true
42
+ id : retry1
43
+ if : steps.addrepo.outcome=='failure'
44
+ run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
45
+ - name : Retry Add Repo 2
46
+ continue-on-error : true
47
+ id : retry2
48
+ if : steps.retry1.outcome=='failure'
49
+ run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
50
+ - name : Install packages
51
+ run : sudo apt-get install -y g++-13 g++-14 clang-17 clang-18 libgmp-dev libmpfr-dev libfftw3-dev
52
+ - name : Checkout main boost
53
+ run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
54
+ - name : Update tools/boostdep
55
+ run : git submodule update --init tools/boostdep
56
+ working-directory : ../boost-root
57
+ - name : Copy files
58
+ run : cp -r $GITHUB_WORKSPACE/* libs/math
59
+ working-directory : ../boost-root
60
+ - name : Install deps
61
+ run : python tools/boostdep/depinst/depinst.py math -I example -I tools
62
+ working-directory : ../boost-root
63
+ - name : Bootstrap
64
+ run : ./bootstrap.sh
65
+ working-directory : ../boost-root
66
+ - name : Generate headers
67
+ run : ./b2 headers
68
+ working-directory : ../boost-root
69
+ - name : Generate user config
70
+ run : ' echo "using $TOOLSET : : ${{ matrix.compiler }} : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam'
71
+ working-directory : ../boost-root
72
+ - name : Config info install
73
+ run : ../../../b2 config_info_travis_install toolset=$TOOLSET
74
+ working-directory : ../boost-root/libs/config/test
75
+ - name : Config info
76
+ run : ./config_info_travis
77
+ working-directory : ../boost-root/libs/config/test
78
+ - name : Test
79
+ run : ../../../b2 toolset=$TOOLSET ${{ matrix.suite }} define=CI_SUPPRESS_KNOWN_ISSUES define=SLOW_COMPILER define=BOOST_MATH_RUN_MP_TESTS
80
+ working-directory : ../boost-root/libs/math/test
81
+
22
82
ubuntu-jammy :
23
83
runs-on : ubuntu-22.04
24
84
strategy :
25
85
fail-fast : false
26
86
matrix :
27
- compiler : [ g++-12, clang++-14, clang++-15, clang++-16, clang++-17 ]
87
+ compiler : [ g++-12, clang++-14, clang++-15, clang++-16 ]
28
88
standard : [ c++14, c++17 ]
29
89
suite : [ github_ci_block_1, github_ci_block_2 ]
30
90
steps :
48
108
if : steps.retry1.outcome=='failure'
49
109
run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
50
110
- name : Install packages
51
- run : sudo apt-get install -y g++-12 clang-14 clang-15 clang-16 clang-17 libgmp-dev libmpfr-dev libfftw3-dev
111
+ run : sudo apt-get install -y g++-12 clang-14 clang-15 clang-16 libgmp-dev libmpfr-dev libfftw3-dev
52
112
- name : Checkout main boost
53
113
run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
54
114
- name : Update tools/boostdep
0 commit comments