diff options
| author | James Munns <[email protected]> | 2025-12-04 18:46:39 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-12-04 18:47:31 +0100 |
| commit | c3bc8fe8c0db112e5f2f66580104fc49b02890d2 (patch) | |
| tree | eea7adc15021697ea980289edd6235daaa12d6ee /embassy-mcxa/.github/workflows/nostd.yml | |
| parent | 5182b2ed54f991b40b45fd2de75f597358ff9c3e (diff) | |
| parent | 277ab0d2e8714edf37a0ee84cda1059d9944ecef (diff) | |
Import embassy-mcxa repo
Merge remote-tracking branch 'james-e-mcxa/james/upstream' into james/upstream-mcxa
Diffstat (limited to 'embassy-mcxa/.github/workflows/nostd.yml')
| -rw-r--r-- | embassy-mcxa/.github/workflows/nostd.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/embassy-mcxa/.github/workflows/nostd.yml b/embassy-mcxa/.github/workflows/nostd.yml new file mode 100644 index 000000000..cf6629854 --- /dev/null +++ b/embassy-mcxa/.github/workflows/nostd.yml | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | # This workflow checks whether the library is able to run without the std library (e.g., embedded). | ||
| 2 | # This entire file should be removed if this crate does not support no-std. See check.yml for | ||
| 3 | # information about how the concurrency cancellation and workflow triggering works | ||
| 4 | permissions: | ||
| 5 | contents: read | ||
| 6 | |||
| 7 | on: | ||
| 8 | push: | ||
| 9 | branches: [main, main-nextgen] | ||
| 10 | pull_request: | ||
| 11 | |||
| 12 | concurrency: | ||
| 13 | group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
| 14 | cancel-in-progress: true | ||
| 15 | |||
| 16 | name: no-std | ||
| 17 | |||
| 18 | jobs: | ||
| 19 | nostd: | ||
| 20 | runs-on: ubuntu-latest | ||
| 21 | name: ${{ matrix.target }} | ||
| 22 | |||
| 23 | steps: | ||
| 24 | - uses: actions/checkout@v6 | ||
| 25 | with: | ||
| 26 | submodules: true | ||
| 27 | |||
| 28 | - name: Install stable | ||
| 29 | uses: dtolnay/rust-toolchain@stable | ||
| 30 | with: | ||
| 31 | targets: thumbv8m.main-none-eabihf | ||
| 32 | |||
| 33 | - name: Show variable | ||
| 34 | run: echo ${{ env.TOKEN }} | ||
| 35 | |||
| 36 | - name: cargo check | ||
| 37 | run: | | ||
| 38 | cargo check --target thumbv8m.main-none-eabihf --all-features --locked | ||
