Tock V2 port - rebased and updated (#620)
* Changes from #580 * fixes USB cancel panic * style fixes * Update src/env/tock/storage.rs Co-authored-by: Zach Halvorsen <zhalvorsen@google.com> --------- Co-authored-by: Zach Halvorsen <zhalvorsen@google.com>
This commit is contained in:
4
.github/workflows/cargo_bloat.yml
vendored
4
.github/workflows/cargo_bloat.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
- name: Set up OpenSK
|
||||
run: ./setup.sh
|
||||
- name: Run bloat on the PR
|
||||
run: RUSTFLAGS="-C link-arg=-icf=all -C force-frame-pointers=no" cargo bloat --release --target=thumbv7em-none-eabi --features=with_ctap1,vendor_hid --crates >> .github/workflows/bloat_output_new.txt
|
||||
run: RUSTFLAGS="-C link-arg=-icf=all -C force-frame-pointers=no -C link-arg=-Tnrf52840_layout.ld" cargo bloat --release --target=thumbv7em-none-eabi --features=with_ctap1,vendor_hid --crates >> .github/workflows/bloat_output_new.txt
|
||||
|
||||
# Second run: PR
|
||||
- uses: actions/checkout@v2
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
run: ./setup.sh
|
||||
- name: Run bloat on base
|
||||
working-directory: ./OpenSK_base
|
||||
run: RUSTFLAGS="-C link-arg=-icf=all -C force-frame-pointers=no" cargo bloat --release --target=thumbv7em-none-eabi --features=with_ctap1,vendor_hid --crates >> "$GITHUB_WORKSPACE/.github/workflows/bloat_output_old.txt"
|
||||
run: RUSTFLAGS="-C link-arg=-icf=all -C force-frame-pointers=no -C link-arg=-Tnrf52840_layout.ld" cargo bloat --release --target=thumbv7em-none-eabi --features=with_ctap1,vendor_hid --crates >> "$GITHUB_WORKSPACE/.github/workflows/bloat_output_old.txt"
|
||||
|
||||
- name: Run output formatter to echo workflow command
|
||||
run: ./.github/workflows/bloat_formatter.sh bloat_output_new.txt bloat_output_old.txt bloat_comment.md
|
||||
|
||||
8
.github/workflows/cargo_clippy.yml
vendored
8
.github/workflows/cargo_clippy.yml
vendored
@@ -25,10 +25,10 @@ jobs:
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all-targets --features std
|
||||
args: --features std
|
||||
- name: Deny Clippy warnings (std)
|
||||
run: cargo clippy --all-targets --features std -- -A clippy::new_without_default -D warnings
|
||||
run: cargo clippy --features std -- -D warnings
|
||||
- name: Deny Clippy warnings (all)
|
||||
run: cargo clippy --all-targets --features std,with_ctap1,ed25519,vendor_hid -- -A clippy::new_without_default -D warnings
|
||||
run: cargo clippy --features std,with_ctap1,ed25519,vendor_hid -- -D warnings
|
||||
- name: Deny Clippy warnings (all, nfc)
|
||||
run: cargo clippy --all-targets --features std,with_ctap1,with_nfc,ed25519,vendor_hid -- -A clippy::new_without_default -D warnings
|
||||
run: cargo clippy --features std,with_ctap1,with_nfc,ed25519,vendor_hid -- -D warnings
|
||||
|
||||
Reference in New Issue
Block a user