Support for free-threaded build of CPython #421
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Test on Ubuntu with various compiler and language standard versions. | |
| name: Test Ubuntu | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.14'] | |
| cxx: [g++, clang++] | |
| std: [c++11, c++14, c++17] | |
| include: | |
| # Add the appropriate docker image for each compiler. | |
| # The images from teeks99/boost-python-test already have boost::python | |
| # pre-reqs installed, see: | |
| # https://github.com/teeks99/boost-python-test-docker | |
| - cxx: clang++ | |
| docker-img: teeks99/boost-python-test:clang-21_1.89.0 | |
| - cxx: g++ | |
| docker-img: teeks99/boost-python-test:gcc-15_1.89.0 | |
| container: | |
| image: ${{ matrix.docker-img }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: setup prerequisites | |
| run: | | |
| echo "CXX=${{ matrix.cxx }}" >> "$GITHUB_ENV" | |
| echo "CXX_STD=${{ matrix.std }}" >> "$GITHUB_ENV" | |
| - name: build | |
| run: | | |
| .github/run-faber.sh | |
| - name: test | |
| run: | | |
| .github/run-faber.sh test.report |