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
9 changes: 9 additions & 0 deletions .github/workflows/acceptance-205.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ jobs:
build-cache: true
target-cache: true
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Acceptance gates compile a full test binary; payload may exceed
# the 512 MiB action default (issue #400). Raise the soft warn
# threshold; hard cap stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB

- name: Run ${{ matrix.gate }} acceptance gate
run: |
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/bench-205.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ jobs:
build-cache: true
target-cache: true
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Bench builds compile release artifacts and their full
# dependency graph; payload may exceed the 512 MiB action
# default (issue #400). Raise the soft warn threshold; hard cap
# stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB

- name: "Run ${{ matrix.bench }} (target: ${{ matrix.target }})"
run: |
Expand Down Expand Up @@ -72,6 +82,16 @@ jobs:
build-cache: true
target-cache: true
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Bench builds compile release artifacts and their full
# dependency graph; payload may exceed the 512 MiB action
# default (issue #400). Raise the soft warn threshold; hard cap
# stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB

- name: Checkout FastLED
uses: actions/checkout@v6
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/check-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ jobs:
build-cache: true
target-cache: true
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Realistic zccache payload for the workspace check job is
# ~1.5–2 GiB (issue #400). Raise the soft warn threshold above
# the steady-state size so the action only flags genuinely
# runaway caches. Hard cap stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB

- name: Check
shell: bash
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/check-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ jobs:
build-cache: true
target-cache: true
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Realistic zccache payload for the workspace check job is
# ~1.5–2 GiB (issue #400). Raise the soft warn threshold above
# the steady-state size so the action only flags genuinely
# runaway caches. Hard cap stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB

- name: Check
run: soldr cargo check --workspace --all-targets
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/check-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ jobs:
build-cache: true
target-cache: true
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Realistic zccache payload for the workspace check job is
# ~1.5–2 GiB (issue #400). Raise the soft warn threshold above
# the steady-state size so the action only flags genuinely
# runaway caches. Hard cap stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB

- name: Check
shell: bash
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ jobs:
build-cache: true
target-cache: true
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Realistic zccache payload for the doc build can exceed the
# 512 MiB action default (issue #400). Raise the soft warn
# threshold; hard cap stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB

- name: Build docs
run: soldr cargo doc --workspace --no-deps
10 changes: 10 additions & 0 deletions .github/workflows/dylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ jobs:
toolchain: 1.94.1
cache-key-suffix: dylint
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Dylint's build pulls in a full rustc-dev tree on first run
# which can push the build-cache past the 512 MiB action default
# (issue #400). Raise the soft warn threshold; hard cap stays
# at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB
- name: Install Dylint nightly toolchain
# Pin matches `dylints/ban_raw_subprocess/rust-toolchain.toml`
# and zccache's `ci/build_dylint_driver.py::TOOLCHAIN_CHANNEL`.
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,11 @@ jobs:
build-cache: true
target-cache: false
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377). `cargo fmt` does not link anything so this
# is purely cosmetic, but it removes the annotation.
linker: platform-default
- name: Check formatting
run: soldr cargo fmt --all -- --check
9 changes: 9 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
target-cache: true
prebuild-deps: none
toolchain: 1.94.1
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge. Silences the routine
# "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Realistic zccache payload for the workspace check job is
# ~1.5–2 GiB (issue #400). Raise the soft warn threshold above
# the steady-state size. Hard cap stays at 6 GiB.
cache-payload-warn-bytes: 2GiB

- name: Check MSRV
run: soldr cargo check --workspace
15 changes: 15 additions & 0 deletions .github/workflows/template_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@ jobs:
# SHARED key across all boards (was ~462MiB × board × SHA before
# #280 made it coarse).
prebuild-deps-flags: ""
# Override foundation's default `prebuild-deps: soldr-cook` — the
# cook recorded only misses (0 hits) in practice (issue #400 /
# setup-soldr#377), so skipping it removes a noisy warning and
# shaves ~20s off cold runs. The build-cache layer still warms
# the actual `soldr cargo build` step.
prebuild-deps: none
# Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo /
# rust-toolchain.toml stays in charge of linker selection. Silences
# the routine "defaulting SOLDR_LINKER=fast" warning (issue #400 /
# setup-soldr#377).
linker: platform-default
# Raise the soft warn threshold above the realistic ~1.5–2 GiB
# zccache payload for this debug build (issue #400). Hard cap
# `cache-payload-max-bytes` still defaults to 6 GiB.
cache-payload-warn-bytes: 2GiB
cache-key-suffix: fbuild-rust-debug

- name: Reset zccache daemon after cache warm
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/template_native_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
# with "file in wrong format" on the cross crt1.o). Disable the
# injection and let cargo + the toolchain decide.
linker: platform-default
# Native release builds produce a payload larger than the
# 512 MiB action default (issue #400). Raise the soft warn
# threshold; hard cap stays at the action default (6 GiB).
cache-payload-warn-bytes: 2GiB
cache-key-suffix: native-${{ inputs.target }}

- uses: actions/setup-python@v6
Expand Down
Loading