From 52a4fcc6d3f57b38cce9cf5be70cca7b30cbccb5 Mon Sep 17 00:00:00 2001 From: Andy <119136210+AndyMik90@users.noreply.github.com> Date: Wed, 31 Dec 2025 21:17:36 +0100 Subject: [PATCH] fix(ci): add Rust toolchain for Intel Mac builds (#459) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(ci): add Rust toolchain for Intel Mac builds real_ladybug package has no pre-built wheel for macOS Intel (x64), requiring compilation from source. The build was hanging because the Rust toolchain was not installed. This adds dtolnay/rust-action@stable to the Intel Mac build jobs in both release and beta-release workflows. Also updates cache key to invalidate old caches that may have incomplete packages. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 * fix: correct rust-toolchain action name (not rust-action) --------- Co-authored-by: Claude Opus 4.5 --- .github/workflows/beta-release.yml | 5 ++++- .github/workflows/release.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index af261350..08deeb56 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -89,11 +89,14 @@ jobs: - name: Install dependencies run: cd apps/frontend && npm ci + - name: Install Rust toolchain (for building native Python packages) + uses: dtolnay/rust-toolchain@stable + - name: Cache bundled Python uses: actions/cache@v4 with: path: apps/frontend/python-runtime - key: python-bundle-${{ runner.os }}-x64-3.12.8 + key: python-bundle-${{ runner.os }}-x64-3.12.8-rust restore-keys: | python-bundle-${{ runner.os }}-x64- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26bfba0a..c6b6ddc9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,11 +43,14 @@ jobs: - name: Install dependencies run: cd apps/frontend && npm ci + - name: Install Rust toolchain (for building native Python packages) + uses: dtolnay/rust-toolchain@stable + - name: Cache bundled Python uses: actions/cache@v4 with: path: apps/frontend/python-runtime - key: python-bundle-${{ runner.os }}-x64-3.12.8 + key: python-bundle-${{ runner.os }}-x64-3.12.8-rust restore-keys: | python-bundle-${{ runner.os }}-x64-