|
9 | 9 | strategy: |
10 | 10 | fail-fast: false |
11 | 11 | 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] |
15 | 17 | include: |
16 | | - # Add the appropriate docker image for each compiler. |
17 | | - # The images from teeks99/boost-python-test already have boost::python |
18 | | - # pre-reqs installed, see: |
19 | | - # https://github.com/teeks99/boost-python-test-docker |
20 | 18 | - cxx: clang++ |
21 | 19 | docker-img: teeks99/boost-python-test:clang-12_1.76.0 |
22 | 20 | - cxx: g++ |
23 | 21 | docker-img: teeks99/boost-python-test:gcc-10_1.76.0 |
| 22 | + - cxx: clang++ |
| 23 | + python-version: 2.7 |
| 24 | + - cxx: clang++ |
| 25 | + python-version: 3.14t |
| 26 | + - std: c++98 |
| 27 | + python-version: 2.7 |
| 28 | + - std: c++11 |
| 29 | + python-version: 2.7 |
| 30 | + - std: c++14 |
| 31 | + python-version: 2.7 |
| 32 | + # Add the appropriate docker image for each compiler. |
| 33 | + # The images from teeks99/boost-python-test already have boost::python |
| 34 | + # pre-reqs installed, see: |
| 35 | + # https://github.com/teeks99/boost-python-test-docker |
24 | 36 |
|
25 | 37 | container: |
26 | 38 | image: ${{ matrix.docker-img }} |
27 | 39 |
|
28 | 40 | steps: |
29 | 41 | - 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 }} |
31 | 47 | - name: build |
32 | 48 | run: | |
33 | | - ${{ matrix.python }} --version |
| 49 | + echo ${{ matrix.python-version }} ${{ matrix.cxx }} ${{ matrix.std }} |
| 50 | + python --version |
34 | 51 | ${{ 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