99 strategy :
1010 fail-fast : false
1111 matrix :
12- python : [python, python3]
13- cxx : [g++, clang++]
14- std : [c++98, c++11, c++14, c++17]
12+ python-version : [2.7, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14, 3.14t]
13+ # cxx: [g++, clang++]
14+ cxx : [g++]
15+ # std: [c++98, c++11, c++14, c++17]
16+ std : [c++17]
1517 include :
1618 # Add the appropriate docker image for each compiler.
1719 # The images from teeks99/boost-python-test already have boost::python
@@ -21,33 +23,29 @@ jobs:
2123 docker-img : teeks99/boost-python-test:clang-12_1.76.0
2224 - cxx : g++
2325 docker-img : teeks99/boost-python-test:gcc-10_1.76.0
26+ # - cxx: clang++
27+ # python-version: 2.7
28+ # - cxx: clang++
29+ # python-version: 3.14t
30+ # - std: c++98
31+ # python-version: 2.7
32+ # - std: c++11
33+ # python-version: 2.7
34+ # - std: c++14
35+ # python-version: 2.7
2436
2537 container :
2638 image : ${{ matrix.docker-img }}
2739
2840 steps :
2941 - uses : actions/checkout@v5
30-
42+ - name : setup python
43+ if : " ${{ matrix.python-version != '2.7' }}"
44+ uses : actions/setup-python@v6
45+ with :
46+ python-version : ${{ matrix.python-version }}
3147 - name : build
3248 run : |
33- ${{ matrix.python }} --version
49+ echo ${{ matrix.python-version }} ${{ matrix.cxx }} ${{ matrix.std }}
50+ python --version
3451 ${{ matrix.cxx }} --version
35- faber -v
36- sed -e "s/\$PYTHON/${{ matrix.python }}/g" .ci/faber > ~/.faber
37- faber \
38- --with-boost-include=${BOOST_PY_DEPS} \
39- --builddir=build \
40- cxx.name=${{ matrix.cxx }} \
41- cxxflags=-std=${{ matrix.std }} \
42- cppflags=-std=${{ matrix.std }} \
43- -j`nproc`
44- - name : test
45- run : |
46- faber \
47- --with-boost-include=${BOOST_PY_DEPS} \
48- --builddir=build \
49- cxx.name=${{ matrix.cxx }} \
50- cxxflags=-std=${{ matrix.std }} \
51- cppflags=-std=${{ matrix.std }} \
52- -j`nproc` \
53- test.report
0 commit comments