Skip to content

Commit

Permalink
fix(CI): the macOS-12 environment is deprecated and removed from GitH…
Browse files Browse the repository at this point in the history
…ub hosted runners
  • Loading branch information
Xmader committed Dec 3, 2024
1 parent b832fa8 commit b36bbdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
options:
- ''
- 'ubuntu-20.04'
- 'macos-12'
- 'macos-13'
- 'macos-14'
- 'windows-2022'
debug_enabled_python:
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-20.04', 'macos-12', 'macos-14', 'windows-2022', 'pi' ]
os: [ 'ubuntu-20.04', 'macos-13', 'macos-14', 'windows-2022', 'pi' ]
python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
BUILD_TYPE=${WORKFLOW_BUILD_TYPE:-"Debug"} poetry build --format=wheel
ls -lah ./dist/
- name: Make the wheels we build also support lower versions of macOS
if: ${{ matrix.os == 'macos-12' || matrix.os == 'macos-14' }}
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
# Change the platform tag part of the wheel filename to `macosx_11_0_xxx` (means to support macOS 11.0 and above)
# See https://packaging.python.org/en/latest/specifications/binary-distribution-format/#file-format
# A wheel package file will only be selected by pip to install if the platform tag satisfies, regardless of whether the binary compatibility actually is.
Expand Down

0 comments on commit b36bbdf

Please sign in to comment.