diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8447010a..2e9f064d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8dea6f18..4059c783 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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