Skip to content

Commit

Permalink
Fix crossbuild installation in Actions runner
Browse files Browse the repository at this point in the history
  • Loading branch information
taesungh committed Feb 28, 2024
1 parent 4acaffa commit 9fce604
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt

- name: Add target
run: rustup target add armv7-unknown-linux-gnueabihf

- name: Install target building dependencies
run: sudo apt-get -qq install crossbuild-essential-armhf
run: sudo apt-get update && sudo apt-get -qq install crossbuild-essential-armhf

- name: Run cargo test
run: cargo test
Expand All @@ -94,4 +94,4 @@ jobs:
run: cargo build --config target.armv7-unknown-linux-gnueabihf.linker=\"arm-linux-gnueabihf-gcc\"

- name: Build Pod Operation Program (release)
run: cargo build --config target.armv7-unknown-linux-gnueabihf.linker=\"arm-linux-gnueabihf-gcc\" --release
run: cargo build --config target.armv7-unknown-linux-gnueabihf.linker=\"arm-linux-gnueabihf-gcc\" --release

0 comments on commit 9fce604

Please sign in to comment.