Skip to content

Commit 39105ce

Browse files
committed
fix: restore x86_64 Homebrew/Rosetta install, add skipPackagePluginValidation to showBuildSettings
1 parent 36994c1 commit 39105ce

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,16 @@ jobs:
150150
- name: Pull LFS files
151151
run: git lfs pull
152152

153+
- name: Install Rosetta 2
154+
run: softwareupdate --install-rosetta --agree-to-license || true
155+
156+
- name: Install x86_64 Homebrew
157+
run: |
158+
if [ ! -f /usr/local/bin/brew ]; then
159+
echo "Installing x86_64 Homebrew..."
160+
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
161+
fi
162+
153163
- name: Install x86_64 dependencies
154164
run: |
155165
echo "Installing x86_64 dependencies..."

scripts/build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ build_for_arch() {
310310
echo "🔨 Building for $arch..."
311311

312312
# Fetch build settings once for this arch (used by build_for_arch and bundle_dylibs)
313-
build_settings=$(xcodebuild -project "$PROJECT" -scheme "$SCHEME" -configuration "$CONFIG" -arch "$arch" -showBuildSettings 2>&1)
313+
build_settings=$(xcodebuild -project "$PROJECT" -scheme "$SCHEME" -configuration "$CONFIG" -arch "$arch" -skipPackagePluginValidation -showBuildSettings 2>&1)
314314

315315
# Prepare architecture-specific libraries
316316
prepare_mariadb "$arch"

0 commit comments

Comments
 (0)