@@ -40,28 +40,40 @@ jobs:
40
40
uses : Swatinem/rust-cache@v2
41
41
with :
42
42
cache-on-failure : " true"
43
+ cache-all-crates : " true"
44
+ cache-directories : " target/xtensa-esp32-espidf"
45
+ # - name: Install erdtree
46
+ # run: cargo binstall erdtree --version 3.1.2 --target x86_64-unknown-linux-gnu --no-confirm --force
47
+ # continue-on-error: true
48
+ # - name: Run erdtree
49
+ # run: erd && erd target
43
50
# - name: Patch idf-svc
44
51
# run: cargo run --manifest-path ./cargo-patch-crate-fork/Cargo.toml --target x86_64-unknown-linux-gnu
45
52
- name : Run command
46
53
run : cargo ${{ matrix.action.command }} ${{ matrix.action.args }}
47
54
# - name: Install Linux Dependencies
48
55
# run: sudo apt-get update && sudo apt-get install -y libudev-dev
49
56
# continue-on-error: true
50
- - name : Setup Linux Rust toolchain and cache
51
- uses :
actions-rust-lang/[email protected]
52
- continue-on-error : true
53
57
# - name: Convert ELF to .bin
54
58
# run: |
55
59
# cargo install espflash --version 3.2.0 --target x86_64-unknown-linux-gnu
56
60
# ~/.cargo/bin/espflash save-image --chip esp32 target/xtensa-esp32-espidf/release/mff-hr-v1 target/xtensa-esp32-espidf/release/app.bin
57
61
# ~/.cargo/bin/espflash partition-table partitions.csv --to-binary -o target/xtensa-esp32-espidf/release/partitions-0x8000.bin
58
62
# continue-on-error: true
63
+ - name : Setup Linux Rust toolchain and cache
64
+ uses :
actions-rust-lang/[email protected]
65
+ with :
66
+ cache : false
67
+ continue-on-error : true
59
68
- name : Install Cargo Binstall
60
69
uses : cargo-bins/cargo-binstall@main
70
+ continue-on-error : true
61
71
- name : Install espflash
62
72
run : cargo binstall espflash --version 3.2.0 --target x86_64-unknown-linux-gnu --no-confirm --force
73
+ continue-on-error : true
63
74
- name : Build Release Binary
64
- run : espflash save-image --chip esp32 --flash-size 4mb --partition-table partitions.csv --merge target/xtensa-esp32-espidf/release/mff-hr-v1 target/xtensa-esp32-espidf/release/out.bin
75
+ run : espflash save-image --chip esp32 --flash-size 4mb --partition-table partitions.csv --merge --skip-padding target/xtensa-esp32-espidf/release/mff-hr-v1 target/xtensa-esp32-espidf/release/out.bin
76
+ continue-on-error : true
65
77
- name : Archive Release artifacts
66
78
uses : actions/upload-artifact@v4
67
79
with :
0 commit comments