Skip to content

Commit 60630d1

Browse files
authored
macOS x86_64 runner change to macos-11 (#701)
1 parent 615f3df commit 60630d1

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

.github/workflows/build_wheels_macos.yml

+3-26
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,18 @@ on:
2020

2121
jobs:
2222
Build:
23-
runs-on: ${{ matrix.os }}
23+
runs-on: macos-11
2424
defaults:
2525
run:
2626
shell: bash
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
os: [macos-10.15, macos-11]
3130
python-version: ['3.6']
3231
platform: [x64]
3332
with_contrib: [0, 1]
3433
without_gui: [0, 1]
3534
build_sdist: [0]
36-
exclude:
37-
- os: macos-10.15
38-
python-version: '3.10'
39-
- os: macos-11
40-
python-version: '3.6'
41-
- os: macos-11
42-
python-version: '3.7'
43-
- os: macos-11
44-
python-version: '3.8'
45-
- os: macos-11
46-
python-version: '3.9'
4735
env:
4836
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
4937
REPO_DIR: .
@@ -62,6 +50,7 @@ jobs:
6250
SDIST: ${{ matrix.build_sdist || 0 }}
6351
ENABLE_HEADLESS: ${{ matrix.without_gui }}
6452
ENABLE_CONTRIB: ${{ matrix.with_contrib }}
53+
MACOSX_DEPLOYMENT_TARGET: 10.15
6554
steps:
6655
- name: Cleanup
6756
run: find . -mindepth 1 -delete
@@ -108,30 +97,18 @@ jobs:
10897

10998
Test:
11099
needs: [Build]
111-
runs-on: ${{ matrix.os }}
100+
runs-on: macos-11
112101
defaults:
113102
run:
114103
shell: bash
115104
strategy:
116105
fail-fast: false
117106
matrix:
118-
os: [macos-10.15, macos-11]
119107
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
120108
platform: [x64]
121109
with_contrib: [0, 1]
122110
without_gui: [0, 1]
123111
build_sdist: [0]
124-
exclude:
125-
- os: macos-10.15
126-
python-version: '3.10'
127-
- os: macos-11
128-
python-version: '3.6'
129-
- os: macos-11
130-
python-version: '3.7'
131-
- os: macos-11
132-
python-version: '3.8'
133-
- os: macos-11
134-
python-version: '3.9'
135112
env:
136113
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
137114
MB_PYTHON_VERSION: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)