File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ jobs:
2222 - name : Build container
2323 run : docker build -t cross-armv7:latest -f armv7.dockerfile .
2424
25+ - name : Install Rust toolchain
26+ uses : actions-rust-lang/setup-rust-toolchain@v1
27+
28+ - name : Install cross
29+ run : cargo install cross --git https://github.com/cross-rs/cross
30+
2531 - name : Build binary
26- uses : houseabsolute/actions-rust-cross@v1
27- with :
28- command : build
29- target : ${{ matrix.platform.target }}
30- args : " --locked --release"
31- strip : true
32+ run : cross build --target ${{ matrix.platform.target }} --locked --release
3233
3334 - name : Upload binary
3435 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ slint-build = "1.12.1"
2626members = [" moonraker-rs" ]
2727
2828[workspace .metadata .cross .target .armv7-unknown-linux-musleabihf ]
29- image = " cross-armv7:latest"
29+ image = " cross-armv7:latest"
You can’t perform that action at this time.
0 commit comments