chore(cli): route fbuild-cli through fbuild-paths; document the clap … #2055
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: Build CH32V307 | |
| # >>> RENDERED-ON-BEGIN (ci/render_workflows.py) -- do not edit by hand <<< | |
| on: | |
| workflow_dispatch: {} | |
| workflow_call: {} | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'tests/platform/ch32v307/**' | |
| - 'crates/fbuild-build-mcu/src/ch32v/**' | |
| - 'crates/fbuild-build/**' | |
| - 'crates/fbuild-build/Cargo.toml' | |
| - 'crates/fbuild-cli/**' | |
| - 'crates/fbuild-daemon/**' | |
| - 'crates/fbuild-core/**' | |
| - 'crates/fbuild-paths/**' | |
| - 'crates/fbuild-config/**' | |
| - 'crates/fbuild-deploy/**' | |
| - 'crates/fbuild-packages/**' | |
| - 'crates/fbuild-header-scan/**' | |
| - 'crates/fbuild-library-select/**' | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| - 'rust-toolchain.toml' | |
| - '.github/workflows/template_build.yml' | |
| - '.github/workflows/ci-workflow-drift.yml' | |
| - 'ci/render_workflows.py' | |
| - 'ci/board_families.json' | |
| - 'ci/ci_common_paths.txt' | |
| - 'crates/fbuild-build-engine/**' | |
| - 'crates/fbuild-build-mcu/src/lib.rs' | |
| - 'crates/fbuild-build-mcu/*argo.toml' | |
| - 'crates/fbuild-toolchain/**' | |
| - 'crates/fbuild-library/**' | |
| - 'crates/fbuild-packages-fetch/**' | |
| - '.github/workflows/build-ch32v307.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'tests/platform/ch32v307/**' | |
| - 'crates/fbuild-build-mcu/src/ch32v/**' | |
| - 'crates/fbuild-build/**' | |
| - 'crates/fbuild-build/Cargo.toml' | |
| - 'crates/fbuild-cli/**' | |
| - 'crates/fbuild-daemon/**' | |
| - 'crates/fbuild-core/**' | |
| - 'crates/fbuild-paths/**' | |
| - 'crates/fbuild-config/**' | |
| - 'crates/fbuild-deploy/**' | |
| - 'crates/fbuild-packages/**' | |
| - 'crates/fbuild-header-scan/**' | |
| - 'crates/fbuild-library-select/**' | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| - 'rust-toolchain.toml' | |
| - '.github/workflows/template_build.yml' | |
| - '.github/workflows/ci-workflow-drift.yml' | |
| - 'ci/render_workflows.py' | |
| - 'ci/board_families.json' | |
| - 'ci/ci_common_paths.txt' | |
| - 'crates/fbuild-build-engine/**' | |
| - 'crates/fbuild-build-mcu/src/lib.rs' | |
| - 'crates/fbuild-build-mcu/*argo.toml' | |
| - 'crates/fbuild-toolchain/**' | |
| - 'crates/fbuild-library/**' | |
| - 'crates/fbuild-packages-fetch/**' | |
| - '.github/workflows/build-ch32v307.yml' | |
| concurrency: | |
| group: build-ch32v307.yml-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| # >>> RENDERED-ON-END <<< | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/template_build.yml | |
| with: | |
| workflow-name: "CH32V307" | |
| test-dir: "tests/platform/ch32v307" | |
| env-name: "ch32v307" | |
| firmware-ext: "bin" |