Skip to content

Commit 58a4c6a

Browse files
committed
ci: fix no_override check, don't use cargo size
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
1 parent 1b6122a commit 58a4c6a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
rust-${{ matrix.rust_version }}
3737
3838
- name: Rustup ${{ matrix.rust_version }}
39-
if: ${{ matrix.rust_version}} != "no_override"
39+
if: ${{ matrix.rust_version != 'no_override' }}
4040
run: |
4141
rustup override set ${{ matrix.rust_version }}
4242

ci/runtests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ cargo build --release --all-features
3030
cargo doc
3131

3232
# Record sizes
33-
cargo size --release
34-
readelf -S target/thumbv7em-none-eabihf/release/usbnvme
33+
readelf -S "$CARGO_TARGET_DIR"/thumbv7em-none-eabihf/release/usbnvme
3534

3635
echo success

0 commit comments

Comments
 (0)