CI: don't use macos-latest (M1)

This commit is contained in:
Shunsuke Shibayama 2024-04-24 14:26:14 +09:00
parent 4396695ad6
commit dc9cbf98a7
2 changed files with 5 additions and 4 deletions

View file

@ -34,7 +34,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
# M1 Mac does not support Python 3.7~3.9
os: [windows-latest, ubuntu-latest, macos-13]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.3']
runs-on: ${{ matrix.os }}
env:
@ -59,7 +60,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
os: [windows-latest, ubuntu-latest, macos-13, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

View file

@ -39,9 +39,9 @@ jobs:
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
os: macos-13
- target: aarch64-apple-darwin
os: macos-latest
os: macos-13
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: i686-pc-windows-msvc