@@ -19,6 +19,83 @@ concurrency:
1919 cancel-in-progress : true
2020
2121jobs :
22+ intel :
23+ runs-on : ubuntu-latest
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ compiler : [ intel ]
28+ standard : [ c++20 ]
29+ suite : [ github_ci_block_1, github_ci_block_2 ]
30+ steps :
31+ - uses : actions/checkout@v4
32+ with :
33+ fetch-depth : ' 0'
34+
35+ - name : Intel Apt repository
36+ timeout-minutes : 1
37+ run : |
38+ wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
39+ sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
40+ rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
41+ echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
42+ sudo apt-get update
43+
44+ - name : Install Intel oneAPI compilers
45+ timeout-minutes : 5
46+ run : sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp
47+
48+ - name : Setup Intel oneAPI environment
49+ run : |
50+ source /opt/intel/oneapi/setvars.sh
51+ printenv >> $GITHUB_ENV
52+
53+ - name : Add repository
54+ continue-on-error : true
55+ id : addrepo
56+ run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
57+ - name : Retry Add Repo
58+ continue-on-error : true
59+ id : retry1
60+ if : steps.addrepo.outcome=='failure'
61+ run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
62+ - name : Retry Add Repo 2
63+ continue-on-error : true
64+ id : retry2
65+ if : steps.retry1.outcome=='failure'
66+ run : sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
67+ - name : Install packages
68+ run : sudo apt-get install -y libgmp-dev libmpfr-dev libfftw3-dev
69+ - name : Checkout main boost
70+ run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
71+ - name : Update tools/boostdep
72+ run : git submodule update --init tools/boostdep
73+ working-directory : ../boost-root
74+ - name : Copy files
75+ run : cp -r $GITHUB_WORKSPACE/* libs/math
76+ working-directory : ../boost-root
77+ - name : Install deps
78+ run : python tools/boostdep/depinst/depinst.py math -I example -I tools
79+ working-directory : ../boost-root
80+ - name : Bootstrap
81+ run : ./bootstrap.sh
82+ working-directory : ../boost-root
83+ - name : Generate headers
84+ run : ./b2 headers
85+ working-directory : ../boost-root
86+ - name : Generate user config
87+ run : ' echo "using intel : : icpx : <cxxflags>-std=${{ matrix.standard }} ;" > ~/user-config.jam'
88+ working-directory : ../boost-root
89+ - name : Config info install
90+ run : ../../../b2 config_info_travis_install toolset=intel
91+ working-directory : ../boost-root/libs/config/test
92+ - name : Config info
93+ run : ./config_info_travis
94+ working-directory : ../boost-root/libs/config/test
95+ - name : Test
96+ run : ../../../b2 toolset=intel ${{ matrix.suite }} define=CI_SUPPRESS_KNOWN_ISSUES define=SLOW_COMPILER define=BOOST_MATH_RUN_MP_TESTS
97+ working-directory : ../boost-root/libs/math/test
98+
2299 ubuntu-noble :
23100 runs-on : ubuntu-24.04
24101 strategy :
0 commit comments