Use macos-15-intel runner for x86_64 builds to match PyInstaller architecture

This commit is contained in:
Jamie Pine
2026-01-25 11:20:30 -08:00
parent eb9b5cf9bb
commit 0f1aba7162
+2 -2
View File
@@ -17,7 +17,7 @@ jobs:
- platform: 'macos-latest'
args: '--target aarch64-apple-darwin'
python-version: '3.12'
- platform: 'macos-latest'
- platform: 'macos-15-intel'
args: '--target x86_64-apple-darwin'
python-version: '3.12'
- platform: 'ubuntu-22.04'
@@ -79,7 +79,7 @@ jobs:
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
targets: ${{ (matrix.platform == 'macos-latest' && 'aarch64-apple-darwin') || (matrix.platform == 'macos-15-intel' && 'x86_64-apple-darwin') || '' }}
- name: Rust cache
uses: swatinem/rust-cache@v2