Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: Haobo Gu <[email protected]>
  • Loading branch information
HaoboGu committed Dec 16, 2024
1 parent 9781fb5 commit 8de5e87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ jobs:
actions: read
pull-requests: write
steps:
- uses: cargo-bins/cargo-binstall@main
- uses: actions/cache@v3
id: cache-cargo
with:
Expand All @@ -227,6 +228,8 @@ jobs:
~/.cargo/git/db/
./example/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install flip-link
run: cargo binstall flip-link -y
- run: rustup target add thumbv7em-none-eabihf
- run: rustup component add rust-src llvm-tools
- if: steps.cache-cargo.outputs.cache-hit != 'true'
Expand All @@ -239,7 +242,7 @@ jobs:
working-directory: ./examples/use_config/nrf52840_ble
run: |
echo 'RESULT<<EOF' >> $GITHUB_OUTPUT
cargo build --release >> $GITHUB_OUTPUT
cargo size --release >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
id: new-size
- name: Save binary
Expand Down

0 comments on commit 8de5e87

Please sign in to comment.