Skip to content

Commit 89e27fd

Browse files
committed
Refine test matrix generation.
1 parent 22347f2 commit 89e27fd

File tree

4 files changed

+26
-164
lines changed

4 files changed

+26
-164
lines changed

.github/workflows/deploy-documentation.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/test-osx.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/test-ubuntu.yml

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,43 @@ jobs:
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:
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
2018
- cxx: clang++
2119
docker-img: teeks99/boost-python-test:clang-12_1.76.0
2220
- cxx: g++
2321
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
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

.github/workflows/test-windows.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)