Skip to content

Commit 3774266

Browse files
authored
chore: Remove macOS x86_64 builds from publish pipeline (#369)
Stop building for Intel Macs in production and edge releases. Only aarch64 (Apple Silicon) builds are now created.
1 parent 41f5054 commit 3774266

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/tauri-edge.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ jobs:
156156
platform_suffix=""
157157
if [[ "${{ matrix.args }}" == *"aarch64-apple-darwin"* ]]; then
158158
platform_suffix="-aarch64"
159-
elif [[ "${{ matrix.args }}" == *"x86_64-apple-darwin"* ]]; then
160-
platform_suffix="-x86_64"
161159
fi
162160
163161
# Rename files and upload to GitHub release
@@ -243,7 +241,7 @@ jobs:
243241
- name: install Rust stable
244242
uses: dtolnay/rust-toolchain@stable
245243
with:
246-
targets: aarch64-apple-darwin,aarch64-apple-darwin,x86_64-apple-darwin
244+
targets: aarch64-apple-darwin
247245

248246
- name: Install CEF tauri-cli
249247
run: cargo install --git https://github.com/tauri-apps/tauri --branch feat/cef tauri-cli

.github/workflows/tauri-release.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ jobs:
7777
include:
7878
- platform: "macos-latest" # for Arm based macs (M1 and above).
7979
args: "--target aarch64-apple-darwin"
80-
- platform: "macos-15-intel"
81-
args: "--target x86_64-apple-darwin"
8280
- platform: "depot-ubuntu-22.04-4"
8381
args: ""
8482

@@ -110,7 +108,7 @@ jobs:
110108
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
111109
with:
112110
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
113-
targets: ${{ (matrix.platform == 'macos-latest' || matrix.platform == 'macos-15-intel') && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
111+
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin' || '' }}
114112

115113
- name: Rust cache
116114
uses: swatinem/rust-cache@v2
@@ -155,8 +153,6 @@ jobs:
155153
platform_suffix=""
156154
if [[ "${{ matrix.args }}" == *"aarch64-apple-darwin"* ]]; then
157155
platform_suffix="-aarch64"
158-
elif [[ "${{ matrix.args }}" == *"x86_64-apple-darwin"* ]]; then
159-
platform_suffix="-x86_64"
160156
fi
161157
162158
# Rename files and upload to GitHub release

0 commit comments

Comments
 (0)