Skip to content

fix(esp32): select only reached framework libraries (#1450) #2344

fix(esp32): select only reached framework libraries (#1450)

fix(esp32): select only reached framework libraries (#1450) #2344

Workflow file for this run

name: Check Windows
on:
workflow_dispatch: {}
push:
branches: [main]
pull_request:
branches: [main]
# Auto-cancel superseded PR runs: pushing again to a feature branch
# supersedes the in-flight run instead of queueing behind it. Non-PR
# events key on run_id so each gets its own group -- a shared group keeps
# only ONE pending run, which would silently drop queued main SHAs.
concurrency:
group: check-windows.yml-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
check:
name: Check (windows-latest)
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- name: Setup soldr
id: setup-soldr
uses: zackees/setup-soldr@v0
with:
cache: true
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: Verify soldr
shell: bash
run: |
version="$(soldr --version)"
echo "$version"
[[ "$version" == soldr\ * ]]
- name: Check
shell: bash
run: soldr cargo check --workspace --all-targets
- name: Clippy
shell: bash
run: soldr cargo clippy --workspace --all-targets -- -D warnings
- name: Test
shell: bash
run: soldr cargo test --workspace