Skip to content

Commit 6dd8b43

Browse files
committed
macOS のビルドターゲットを設定し、arm64 アーキテクチャのバージョンを更新する
1 parent e725968 commit 6dd8b43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ jobs:
7474
strategy:
7575
matrix:
7676
include:
77-
- runner: macos-26
78-
arch: arm64
7977
- runner: macos-15
8078
arch: arm64
79+
target: 15.0
8180
- runner: macos-14
8281
arch: arm64
82+
target: 14.0
8383
runs-on: ${{ matrix.runner }}
8484
timeout-minutes: 30
8585
steps:
@@ -120,6 +120,8 @@ jobs:
120120

121121
- name: Build wheel with Maturin
122122
run: maturin build --release --compatibility pypi
123+
env:
124+
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.target }}
123125

124126
- name: Upload wheels
125127
uses: actions/upload-artifact@v5

0 commit comments

Comments
 (0)