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 :
18+ - cxx : clang++
19+ python-version : 2.7
20+ - cxx : clang++
21+ python-version : 3.14t
22+ - std : c++98
23+ python-version : 2.7
24+ - std : c++11
25+ python-version : 2.7
26+ - std : c++14
27+ python-version : 2.7
1628 # Add the appropriate docker image for each compiler.
1729 # The images from teeks99/boost-python-test already have boost::python
1830 # pre-reqs installed, see:
@@ -27,27 +39,12 @@ jobs:
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+ python --version
3450 ${{ 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