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
2 changes: 2 additions & 0 deletions .woodpecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ steps:
image: docker.io/library/rust:1.86-slim-bookworm@sha256:57d415bbd61ce11e2d5f73de068103c7bd9f3188dc132c97cef4a8f62989e944
environment:
RUSTFLAGS: "-C link-arg=-fuse-ld=lld"
CARGO_TARGET_DIR: /tmp/t4-legacy-authority-target
CARGO_INCREMENTAL: "0"
commands:
- sh scripts/cluster-ci/install-legacy-authority-toolchain.sh
- (cd .continuity/omp && bun install --frozen-lockfile)
Expand Down
6 changes: 6 additions & 0 deletions scripts/cluster-ci/cluster-ci-contract.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ test("Woodpecker keeps upstream gates and serializes bounded cluster publication
steps["legacy-authority-build"].environment.RUSTFLAGS,
"-C link-arg=-fuse-ld=lld",
);
assert.equal(
steps["legacy-authority-build"].environment.CARGO_TARGET_DIR,
"/tmp/t4-legacy-authority-target",
);
assert.equal(steps["legacy-authority-build"].environment.CARGO_INCREMENTAL, "0");
assert.match(legacyInstaller, /apt-get install[^\n]*\blld\b/u);
assert.match(legacyInstaller, /command -v ld\.lld >\/dev\/null/u);
assert.equal(
Expand All @@ -296,6 +301,7 @@ test("Woodpecker keeps upstream gates and serializes bounded cluster publication
"(cd .continuity/omp && bun install --frozen-lockfile)",
"(cd .continuity/omp && bun run build:native)",
]);
assert.deepEqual(steps["legacy-bridge-continuity"].depends_on, ["legacy-authority-build"]);
assert.ok(steps["legacy-bridge-continuity"].commands.includes("pnpm test:legacy-bridge-continuity"));
assert.equal(steps["legacy-bridge-continuity"].environment.T4_OMP_SOURCE_DIR, ".continuity/omp");
assert.ok(
Expand Down
Loading