From 0508c88e40d4dc4f56a91ce5419637dfddbf9ea7 Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed, 14 Oct 2026 15:52:00 +0900 Subject: [PATCH] ci: test GPUI and sidecars without separate binary builds --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ebb1e53920..43d79ddaa7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -276,9 +276,6 @@ jobs: - name: Run setup run: node scripts/setup.js - - name: Build sidecars - run: cargo build --locked -p cap-muxer -p cap - - name: Test desktop regressions run: | cargo test --locked -p cap-utils -p cap-cli-install --lib @@ -339,9 +336,14 @@ jobs: env: RUST_TARGET_TRIPLE: ${{ matrix.settings.target }} - - name: Build GPUI desktop + # The test build compiles every line the binary build does (the app has + # no cfg(not(test)) code), so a separate binary build only repeated the + # app crate's compile and link. Release builds still produce the binary. + - name: Prepare GPUI dependency shell: bash - run: ./scripts/build-gpui-binary.sh debug ${{ matrix.settings.target }} + run: | + node scripts/sync-desktop-versions.mjs + ./scripts/prepare-gpui-dependency.sh - name: Test GPUI desktop shell: bash