Skip to content

Commit

Permalink
Try stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
flxkrmr authored Nov 2, 2024
1 parent ef7e8fb commit ddcc169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
#- name: Build binary for Raspberry Pi
# run: CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-ld REALGCC=gcc-arm-linux-gnueabihf TARGET_CC=musl-gcc cargo build --release --target=arm-unknown-linux-musleabihf
- name: Install ARM target for Rust
run: rustup target add armv7-unknown-linux-gnueabihf
run: rustup target add arm-unknown-linux-gnueabihf

- name: Install dependencies for cross-compiling
run: sudo apt-get update && sudo apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross

- name: Build the project
run: cargo build --release --target=armv7-unknown-linux-gnueabihf
run: cargo build --release --target=arm-unknown-linux-gnueabihf

- name: Upload binary
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ddcc169

Please sign in to comment.