Skip to content

Sync zcash v5.2.0 ci fix - #168

Merged
dmidem merged 2 commits into
sync-zcash-v5.2.0-fixesfrom
sync-zcash-v5.2.0-ci-fix
Sep 7, 2026
Merged

Sync zcash v5.2.0 ci fix#168
dmidem merged 2 commits into
sync-zcash-v5.2.0-fixesfrom
sync-zcash-v5.2.0-ci-fix

Conversation

@PaulLaux

@PaulLaux PaulLaux commented Sep 1, 2026

Copy link
Copy Markdown
  • Define the cfgs once per workflow as ZEBRA_CFGS, and mirror them into every
    job that compiles code, including the two steps that set
    RUSTFLAGS/RUSTDOCFLAGS directly and so beat the action's export.
  • Matrix lint.yml:msrv over nu7: [true, false]. Turning the cfgs on left
    ci-basic as the only job building without them, and it has no toolchain pin,
    so nothing checked the MSRV build upstream compiles. The legs run in parallel,
    so this costs no extra wall clock.

Jobs that never evaluate cfgs are untouched: fmt, no-test-deps, deny,
vet, and the cargo tree crates matrix. benchmarks.yml and book.yml are
also untouched — changing what benchmarks.yml measures would break the
continuity of the series it publishes to gh-pages.

The setup-rust-toolchain action exports RUSTFLAGS, which replaces the
rustflags in .cargo/config.toml instead of adding to them. Only
tests-unit.yml passed the cfgs back in, so the lint, test-crates and
coverage jobs were building, linting and measuring a tree with every
`all(zcash_unstable = "nu7", feature = "tx_v6")` block compiled out.

Define the cfgs once per workflow as ZEBRA_CFGS and mirror them into
each job that compiles code, including the two steps that set
RUSTFLAGS/RUSTDOCFLAGS directly and so beat the action's export.

Jobs that never evaluate cfgs are left alone: fmt, no-test-deps, deny,
vet, and the cargo tree crates matrix. benchmarks.yml is also left
alone, since changing what it measures would break the continuity of
the series it publishes to gh-pages.
Turning the cfgs on left ci-basic as the only job building without them,
and it has no toolchain pin, so nothing checked the MSRV build upstream
compiles. Matrix the job instead: the legs run in parallel, so this costs
no extra wall clock.
@dmidem
dmidem marked this pull request as ready for review September 7, 2026 09:25
@dmidem
dmidem merged commit 1dc6a23 into sync-zcash-v5.2.0-fixes Sep 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants