python: Add python 3.12 support

This commit is contained in:
Mizux Seiha
2023-10-06 00:43:20 +02:00
committed by Corentin Le Molgat
parent 030bd7d149
commit 21911d4261
9 changed files with 44 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
fail-fast: false
env:
CC: gcc-12

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
fail-fast: false
steps:
- name: Check out repository code

View File

@@ -26,7 +26,7 @@ jobs:
- name: Check swig
run: swig -version
- name: Update Path
run: echo "$HOME/Library/Python/3.11/bin" >> $GITHUB_PATH
run: echo "$HOME/Library/Python/3.12/bin" >> $GITHUB_PATH
- name: Check cmake
run: cmake --version
- name: Configure

View File

@@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
runner: [windows-2022, windows-2019]
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
fail-fast: false # Don't cancel all jobs if one fails.
runs-on: ${{ matrix.runner }}
#runs-on: windows-latest