From 7e2b01904581932e95a014a193152ab40b9d56e4 Mon Sep 17 00:00:00 2001 From: Abanoub Doss Date: Mon, 13 Jul 2026 18:49:39 -0500 Subject: [PATCH] ci: trim the macos and windows build scope --- .github/workflows/ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54ac1f576a..d4f19228a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -161,13 +161,17 @@ jobs: save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} add-rust-environment-hash-key: 'false' - # Folded in from the former build_with_no_default_features job so the - # core crate's feature gating is checked without a second dep closure. - - name: Build without default features - run: cargo build --locked -p iceberg --no-default-features - + # cargo check is enough here: the ubuntu build-and-test job already + # fully builds and this job only guards feature-gated compile errors. + - name: Check without default features + run: cargo check --locked -p iceberg --no-default-features + + # pyiceberg_core_rust is a fully serialized ~1m40s tail on both + # runners (including its cdylib link), and the Bindings Python CI + # workflow already compiles the same crate on windows-latest and + # macos-latest for every code PR. - name: Build - run: make build + run: cargo build --locked --all-targets --all-features --workspace --exclude pyiceberg_core_rust # Checks each crate individually to catch missing feature declarations that # are otherwise masked by Cargo's feature unification across the workspace.