File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 3434 - name : Run build
3535 run : cargo run --release --bin stm32-bindings-gen
3636 - name : Run package build
37- run : cd build/stm32-bindings && cargo build --target=thumbv8m.main-none-eabihf
37+ run : |
38+ cd build/stm32-bindings
39+ export CARGO_BUILD_TARGET=thumbv8m.main-none-eabihf
40+ cargo fix --lib -p stm32-bindings --allow-no-vcs
41+ cargo build
42+ cargo package
43+ ls target/package
44+ - name : Upload package build
45+ uses : actions/upload-artifact@v4
46+ with :
47+ name : crate
48+ path : build/stm32-bindings/target/package/*.crate
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ $REV = "v1.8.0"
1010
1111Switch ($CMD ) {
1212 " gen" {
13- cargo run -- release stm32- bindings- gen
13+ cargo run -- release stm32- bindings- gen -- target thumbv8m.main - none - eabihf
1414 }
1515 " download-all" {
1616 rm - r - Force ./ sources/ - ErrorAction SilentlyContinue
You can’t perform that action at this time.
0 commit comments