Skip to content

Commit

Permalink
Add apt-cross with dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
flxkrmr authored Feb 9, 2024
1 parent 5cbc6fa commit a3cb083
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
target: arm-unknown-linux-gnueabihf

- name: Install dependencies for cross-compilation
run: sudo apt-get install -y gcc-arm-linux-gnueabihf libsqlite3-dev
run: sudo apt-get install -y gcc-arm-linux-gnueabihf apt-cross
- name: Install arm dependencies
run: sudo apt-cross -a armhf install libsqlite3-dev

- name: Build binary for Raspberry Pi
run: cargo build --release --target=arm-unknown-linux-gnueabihf
Expand Down

0 comments on commit a3cb083

Please sign in to comment.