diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-02-11 19:48:55 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-11 19:48:55 +0000 |
| commit | 37bd796fb3090236a9569db7f7fc2bf7b6e8e2b2 (patch) | |
| tree | c14c55d4c07ef4340f3439bf4dbabf5174ebaf76 /.github/workflows/rust.yml | |
| parent | cbc7f620bd9aa96f2aa4acab232da69f39c4313a (diff) | |
| parent | 63cfa7cd6a71a37e647b7875161914f125744763 (diff) | |
Merge #610
610: Update cargo-batch. r=Dirbaio a=Dirbaio
Cargo-batch now prints target+features when buildng a crate fails, which is very handy when one of the 30 `embassy-stm32`s fails in CI.
Before:
```
error: could not compile embassy-stm32 due to 2 previous errors
```
After:
```
error: could not compile `embassy-stm32` due to 2 previous errors
target: Target(CompileTarget { name: "thumbv7em-none-eabi" })
features: ["_time-driver", "defmt", "exti", "stm32f410tb", "time-driver-any"]
```
Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to '.github/workflows/rust.yml')
| -rw-r--r-- | .github/workflows/rust.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4f5970c03..767e42243 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml | |||
| @@ -37,7 +37,7 @@ jobs: | |||
| 37 | key: rust3-${{ runner.os }}-${{ hashFiles('rust-toolchain.toml') }} | 37 | key: rust3-${{ runner.os }}-${{ hashFiles('rust-toolchain.toml') }} |
| 38 | - name: build | 38 | - name: build |
| 39 | run: | | 39 | run: | |
| 40 | curl -L -o /usr/local/bin/cargo-batch https://github.com/embassy-rs/cargo-batch/releases/download/batch-0.1.0/cargo-batch | 40 | curl -L -o /usr/local/bin/cargo-batch https://github.com/embassy-rs/cargo-batch/releases/download/batch-0.2.0/cargo-batch |
| 41 | chmod +x /usr/local/bin/cargo-batch | 41 | chmod +x /usr/local/bin/cargo-batch |
| 42 | ./ci.sh | 42 | ./ci.sh |
| 43 | rm -rf target_ci/*{,/release}/{build,deps,.fingerprint}/{lib,}{embassy,stm32}* | 43 | rm -rf target_ci/*{,/release}/{build,deps,.fingerprint}/{lib,}{embassy,stm32}* |
