fix: stabilize generated ino cpp output #1060
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Documentation | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | |
| jobs: | |
| docs: | |
| name: Documentation | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTDOCFLAGS: "-D warnings" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup soldr | |
| id: setup-soldr | |
| uses: zackees/setup-soldr@v0.9.62 | |
| 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 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 |