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