Skip to content

Commit

Permalink
Build wheels for Python 3.12 and PyPy 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoconni committed Sep 16, 2023
1 parent cbe9007 commit c9b12c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cpp-python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ jobs:
run: brew install doxygen
- name: Install Doxygen (Windows)
if: runner.os == 'Windows'
run: cinst doxygen.install
run: choco install doxygen.install
- name: Configure Doxygen
run: |
# We don't want Doxygen to generate the HTML docs in this job (saves time)
Expand Down Expand Up @@ -643,7 +643,7 @@ jobs:
Copy-Item -Path .\JSBSim-*\jsbsim\*.pyi -Destination ..\..\build\python\jsbsim
echo "::endgroup::"
- name: Build wheels
uses: pypa/cibuildwheel@v2.14
uses: pypa/cibuildwheel@v2.15
env:
CIBW_BEFORE_ALL_LINUX: |
cd build
Expand All @@ -656,7 +656,7 @@ jobs:
cmake -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_C_FLAGS_RELEASE="-g -O2 -DNDEBUG -fno-math-errno" -DCMAKE_CXX_FLAGS_RELEASE="-g -O2 -DNDEBUG -fno-math-errno" -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target libJSBSim -- -j3
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_SKIP: cp*-musllinux_* cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64
CIBW_SKIP: cp*-musllinux_* cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64
CIBW_ARCHS_WINDOWS: native
JSBSIM_BUILD_CONFIG: RelWithDebInfo
with:
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ manylinux-i686-image = "manylinux2010"
skip = "cp*-musllinux_*"

[[tool.cibuildwheel.overrides]]
select = "pp39-* cp311*"
select = "pp39-* pp310-* cp311* cp312*"
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"

0 comments on commit c9b12c4

Please sign in to comment.