Skip to content

Commit

Permalink
CI runners: macos-11 -> macos-12
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Feb 1, 2024
1 parent 687ca76 commit b316649
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-src-build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ concurrency:
cancel-in-progress: true

jobs:
full_macos_11:
name: macOS:11-x86_64
runs-on: macos-11
full_macos_12:
name: macOS:12-x86_64
runs-on: macos-12
env:
TEST_DECODE_THREADS: 0 # This test fails on GitHub on macOS. We have such enabled test on Cirrus.
PH_FULL_ACTION: 1
Expand All @@ -52,9 +52,9 @@ jobs:
- name: Perform tests
run: python3 -m pytest

lite_macos_11:
name: macOS:11-x86_64(Pi-Heif)
runs-on: macos-11
lite_macos_12:
name: macOS:12-x86_64(Pi-Heif)
runs-on: macos-12
env:
TEST_DECODE_THREADS: 0
PH_LIGHT_ACTION: 1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-wheels-pi_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ jobs:
cd .. && python3 -m pytest pillow_heif
macos-wheels:
name: macOS • 11 • ${{ matrix.python-version }}
runs-on: macos-11
name: macOS • 12 • ${{ matrix.python-version }}
runs-on: macos-12
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ jobs:
run: cd .. && python3 -m pytest pillow_heif

macos-wheels:
name: macOS • 11 • ${{ matrix.python-version }}
runs-on: macos-11
name: macOS • 12 • ${{ matrix.python-version }}
runs-on: macos-12
strategy:
matrix:
python-version: ["pypy-3.8", "pypy-3.9", "pypy-3.10", "3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wheels-pi_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

wheels_macos:
name: macosx • x86_64
runs-on: macos-11
runs-on: macos-12

steps:
- uses: actions/checkout@v4
Expand All @@ -109,6 +109,7 @@ jobs:
env:
CIBW_ARCHS: "x86_64"
CIBW_ENVIRONMENT_MACOS: PH_LIGHT_ACTION=1 TEST_DECODE_THREADS=0
MACOSX_DEPLOYMENT_TARGET: "10.10"

- name: Checking built wheels
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wheels-pillow_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:

wheels_macos:
name: macosx • x86_64
runs-on: macos-11
runs-on: macos-12

steps:
- uses: actions/checkout@v4
Expand All @@ -100,6 +100,7 @@ jobs:
env:
CIBW_ARCHS: "x86_64"
CIBW_ENVIRONMENT_MACOS: PH_FULL_ACTION=1 TEST_DECODE_THREADS=0
MACOSX_DEPLOYMENT_TARGET: "10.10"

- name: Check built wheels
run: |
Expand Down

0 comments on commit b316649

Please sign in to comment.