Skip to content

Commit

Permalink
Merge branch 'main' into feat/input_device
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoboGu authored Dec 16, 2024
2 parents 3af5dfa + 8de5e87 commit 6eee9ce
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 6eee9ce

Please sign in to comment.