ci: update Python versions

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
This commit is contained in:
Ondrej Mosnacek 2025-01-03 11:02:01 +01:00 committed by Petr Lautrbach
parent ee667ed976
commit 921e934813

View File

@ -10,33 +10,33 @@ jobs:
matrix:
compiler: [gcc, clang]
python-ruby-version:
- {python: '3.12', ruby: '3.3'}
- {python: '3.12', ruby: '3.3', other: 'test-flags-override'}
- {python: '3.12', ruby: '3.3', other: 'test-debug'}
- {python: '3.12', ruby: '3.3', other: 'linker-bfd'}
- {python: '3.12', ruby: '3.3', other: 'linker-gold'}
- {python: '3.13', ruby: '3.3'}
- {python: '3.13', ruby: '3.3', other: 'test-flags-override'}
- {python: '3.13', ruby: '3.3', other: 'test-debug'}
- {python: '3.13', ruby: '3.3', other: 'linker-bfd'}
- {python: '3.13', ruby: '3.3', other: 'linker-gold'}
# Test several Python versions with the latest Ruby version
- {python: '3.12', ruby: '3.3'}
- {python: '3.11', ruby: '3.3'}
- {python: '3.10', ruby: '3.3'}
- {python: '3.9', ruby: '3.3'}
- {python: '3.8', ruby: '3.3'}
- {python: '3.7', ruby: '3.3'}
- {python: 'pypy3.7', ruby: '3.3'}
# Test several Ruby versions with the latest Python version
- {python: '3.12', ruby: '3.2'}
- {python: '3.12', ruby: '3.1'}
- {python: '3.12', ruby: '3.0'}
- {python: '3.12', ruby: '2.7'}
- {python: '3.12', ruby: '2.6'}
- {python: '3.12', ruby: '2.5'}
- {python: '3.13', ruby: '3.2'}
- {python: '3.13', ruby: '3.1'}
- {python: '3.13', ruby: '3.0'}
- {python: '3.13', ruby: '2.7'}
- {python: '3.13', ruby: '2.6'}
- {python: '3.13', ruby: '2.5'}
exclude:
- compiler: clang
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'linker-bfd'}
python-ruby-version: {python: '3.13', ruby: '3.3', other: 'linker-bfd'}
- compiler: clang
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'linker-gold'}
python-ruby-version: {python: '3.13', ruby: '3.3', other: 'linker-gold'}
include:
- compiler: gcc
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'sanitizers'}
python-ruby-version: {python: '3.13', ruby: '3.3', other: 'sanitizers'}
steps:
- uses: actions/checkout@v4
@ -70,11 +70,7 @@ jobs:
swig \
xmlto
pip install flake8
- name: Install Python setuptools
if: matrix.python-ruby-version.python == '3.12'
run: pip install setuptools
pip install flake8 setuptools
- name: Install Clang
if: ${{ matrix.compiler == 'clang' }}