Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/_build_rust_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,10 @@ jobs:
fi

# iggy-bench-dashboard-server enables charming's "ssr" feature (deno_core -> v8).
# v8 has no prebuilt binary for aarch64-unknown-linux-musl, so exclude dashboard
# crates to prevent cargo feature unification from pulling V8 into unrelated binaries.
# TODO: build V8 from source (V8_FROM_SOURCE=1, ~30min + clang) or wait for upstream support.
# rusty_v8 has no prebuilt static libraries for any musl target, so exclude
# dashboard crates to prevent cargo feature unification from pulling V8.
exclude_flags=()
if [[ "${{ matrix.target }}" == "aarch64-unknown-linux-musl" ]]; then
if [[ "${{ matrix.libc }}" == "musl" ]]; then
exclude_flags+=(--workspace --exclude iggy-bench-dashboard-server --exclude bench-dashboard-frontend)
fi

Expand Down
6 changes: 4 additions & 2 deletions core/ai/mcp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry,id=cargo-registry-${TARG
*) echo "Unsupported platform/libc combination: $TARGETPLATFORM/$LIBC" && exit 1 ;; \
esac && \
if [ "$PROFILE" = "debug" ]; then \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild; \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild \
-p iggy-mcp; \
else \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild --release; \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild --release \
-p iggy-mcp; \
fi

COPY . .
Expand Down
6 changes: 4 additions & 2 deletions core/connectors/runtime/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry,id=cargo-registry-${TARG
*) echo "Unsupported platform/libc combination: $TARGETPLATFORM/$LIBC" && exit 1 ;; \
esac && \
if [ "$PROFILE" = "debug" ]; then \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild; \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild \
-p iggy-connectors; \
else \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild --release; \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild --release \
-p iggy-connectors; \
fi

COPY . .
Expand Down
6 changes: 4 additions & 2 deletions core/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry,id=cargo-registry-${TARG
*) echo "Unsupported $TARGETPLATFORM/$LIBC" && exit 1 ;; \
esac && \
if [ "$PROFILE" = "debug" ]; then \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild; \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild \
-p server -p iggy-cli; \
else \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild --release; \
cargo chef cook --recipe-path recipe.json --target ${RUST_TARGET} --zigbuild --release \
-p server -p iggy-cli; \
fi

COPY . .
Expand Down
Loading