From 59947ce0f55f2f55ec186cf3bbb7d5bc280b083d Mon Sep 17 00:00:00 2001
From: zhom <2717306+zhom@users.noreply.github.com>
Date: Tue, 13 Oct 2026 22:29:07 +0400
Subject: [PATCH] ci: drop macOS Intel builds
---
.github/workflows/notify-telegram.yml | 1 -
.github/workflows/release.yml | 12 ++----------
.github/workflows/rolling-release.yml | 10 +---------
3 files changed, 3 insertions(+), 20 deletions(-)
diff --git a/.github/workflows/notify-telegram.yml b/.github/workflows/notify-telegram.yml
index 76296857..ddb1cf53 100644
--- a/.github/workflows/notify-telegram.yml
+++ b/.github/workflows/notify-telegram.yml
@@ -208,7 +208,6 @@ jobs:
$changes + "\n" +
"Download\n" +
"macOS (Apple Silicon) · " +
- "macOS (Intel)\n" +
"Windows x64 · " +
"Linux x64\n\n" +
"Full release notes"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fca0232f..ab249eba 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -78,11 +78,6 @@ jobs:
arch: "aarch64"
target: "aarch64-apple-darwin"
pkg_target: "latest-macos-arm64"
- - platform: "macos-latest"
- args: "--target x86_64-apple-darwin --verbose"
- arch: "x86_64"
- target: "x86_64-apple-darwin"
- pkg_target: "latest-macos-x64"
- platform: "ubuntu-22.04"
args: "--target x86_64-unknown-linux-gnu --verbose"
arch: "x86_64"
@@ -423,9 +418,7 @@ jobs:
cat > /tmp/install-links.md << LINKS
### macOS
- | | Apple Silicon | Intel |
- |---|---|---|
- | **DMG** | [Download](${BASE}/Donut_${VERSION}_aarch64.dmg) | [Download](${BASE}/Donut_${VERSION}_x64.dmg) |
+ [Download DMG (Apple Silicon)](${BASE}/Donut_${VERSION}_aarch64.dmg)
Or install via Homebrew:
@@ -550,7 +543,6 @@ jobs:
--arg url "$RELEASE_URL" \
--arg changes "$CHANGES" \
--arg dl_mac_arm "https://github.com/'"${GITHUB_REPOSITORY}"'/releases/download/'"${VERSION}"'/Donut_'"${VERSION#v}"'_aarch64.dmg" \
- --arg dl_mac_intel "https://github.com/'"${GITHUB_REPOSITORY}"'/releases/download/'"${VERSION}"'/Donut_'"${VERSION#v}"'_x64.dmg" \
--arg dl_win "https://github.com/'"${GITHUB_REPOSITORY}"'/releases/download/'"${VERSION}"'/Donut_'"${VERSION#v}"'_x64-setup.exe" \
--arg dl_linux "https://github.com/'"${GITHUB_REPOSITORY}"'/releases/download/'"${VERSION}"'/Donut_'"${VERSION#v}"'_amd64.AppImage" \
'{
@@ -560,7 +552,7 @@ jobs:
description: $changes,
color: 5814783,
fields: [
- { name: "Download", value: ("[macOS (Apple Silicon)](" + $dl_mac_arm + ") · [macOS (Intel)](" + $dl_mac_intel + ")\n[Windows x64](" + $dl_win + ") · [Linux x64](" + $dl_linux + ")"), inline: false }
+ { name: "Download", value: ("[macOS (Apple Silicon)](" + $dl_mac_arm + ") · [Windows x64](" + $dl_win + ") · [Linux x64](" + $dl_linux + ")"), inline: false }
],
footer: { text: "donutbrowser.com" }
}]
diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml
index ba925693..1c80298b 100644
--- a/.github/workflows/rolling-release.yml
+++ b/.github/workflows/rolling-release.yml
@@ -85,11 +85,6 @@ jobs:
arch: "aarch64"
target: "aarch64-apple-darwin"
pkg_target: "latest-macos-arm64"
- - platform: "macos-latest"
- args: "--target x86_64-apple-darwin --verbose"
- arch: "x86_64"
- target: "x86_64-apple-darwin"
- pkg_target: "latest-macos-x64"
- platform: "ubuntu-22.04"
args: "--target x86_64-unknown-linux-gnu --verbose"
arch: "x86_64"
@@ -422,7 +417,6 @@ jobs:
# Rename versioned filenames to stable nightly names
for f in Donut_*_aarch64.dmg; do [ -f "$f" ] && mv "$f" Donut_nightly_aarch64.dmg; done
- for f in Donut_*_x64.dmg; do [ -f "$f" ] && mv "$f" Donut_nightly_x64.dmg; done
for f in Donut_*_x64-setup.exe; do [ -f "$f" ] && mv "$f" Donut_nightly_x64-setup.exe; done
for f in Donut_*_aarch64.AppImage; do [ -f "$f" ] && mv "$f" Donut_nightly_aarch64.AppImage; done
for f in Donut_*_amd64.AppImage; do [ -f "$f" ] && mv "$f" Donut_nightly_amd64.AppImage; done
@@ -431,13 +425,12 @@ jobs:
for f in Donut-*.x86_64.rpm; do [ -f "$f" ] && mv "$f" Donut_nightly_x86_64.rpm; done
for f in Donut-*.aarch64.rpm; do [ -f "$f" ] && mv "$f" Donut_nightly_aarch64.rpm; done
for f in Donut_*_aarch64.app.tar.gz; do [ -f "$f" ] && mv "$f" Donut_aarch64.app.tar.gz; done
- for f in Donut_*_x64.app.tar.gz; do [ -f "$f" ] && mv "$f" Donut_x64.app.tar.gz; done
for f in Donut_*_x86_64.flatpak; do [ -f "$f" ] && mv "$f" Donut_nightly_x86_64.flatpak; done
for f in Donut_*_amd64.snap; do [ -f "$f" ] && mv "$f" Donut_nightly_amd64.snap; done
# Checksums for the rolling release (renamed filenames), restricted
# to exactly the assets uploaded below.
- sha256sum Donut_nightly_* Donut_aarch64.app.tar.gz Donut_x64.app.tar.gz > SHA256SUMS.txt
+ sha256sum Donut_nightly_* Donut_aarch64.app.tar.gz > SHA256SUMS.txt
cd "$GITHUB_WORKSPACE"
# Delete existing rolling nightly release and tag
@@ -448,7 +441,6 @@ jobs:
gh release create nightly \
"$ASSETS_DIR"/Donut_nightly_* \
"$ASSETS_DIR"/Donut_aarch64.app.tar.gz \
- "$ASSETS_DIR"/Donut_x64.app.tar.gz \
"$ASSETS_DIR"/SHA256SUMS.txt \
--title "Donut Browser Nightly" \
--notes-file /tmp/nightly-notes.md \