Skip to content

Commit b44fcf1

Browse files
committed
Simplify CI workflow.
We don't need test-ubuntu-py-ver.yml since we can use "include". Test Python 3.14t as well. More Python versions can be tested now we are using setup-python.
1 parent 597df1d commit b44fcf1

File tree

2 files changed

+11
-54
lines changed

2 files changed

+11
-54
lines changed

.github/workflows/test-ubuntu-py-ver.yml

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

.github/workflows/test-ubuntu.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ jobs:
1717
cxx: [g++, clang++]
1818
std: [c++11, c++14, c++17]
1919
include:
20-
# Add the appropriate docker image for each compiler.
21-
# The images from teeks99/boost-python-test already have boost::python
22-
# pre-reqs installed, see:
23-
# https://github.com/teeks99/boost-python-test-docker
24-
- cxx: clang++
25-
docker-img: teeks99/boost-python-test:clang-21_1.89.0
26-
- cxx: g++
27-
docker-img: teeks99/boost-python-test:gcc-15_1.89.0
20+
# Also test with free-threaded build of Python
21+
- python-version: '3.14t'
22+
cxx: clang+
23+
std: c++17
2824

2925
container:
30-
image: ${{ matrix.docker-img }}
26+
# Add the appropriate docker image for the compiler.
27+
# The images from teeks99/boost-python-test already have boost::python
28+
# pre-reqs installed, see:
29+
# https://github.com/teeks99/boost-python-test-docker
30+
image: ${{ matrix.cxx == 'g++' &&
31+
'teeks99/boost-python-test:gcc-15_1.89.0' ||
32+
'teeks99/boost-python-test:clang-21_1.89.0' }}
3133

3234
steps:
3335
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)