Skip to content

Commit

Permalink
cross?
Browse files Browse the repository at this point in the history
  • Loading branch information
babdor committed May 2, 2024
1 parent 0080854 commit f248414
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ jobs:
with:
toolchain: stable

- name: Install rustup parts
run: |
rustup toolchain install stable-armv7-unknown-linux-gnueabihf
rustup target add armv7-unknown-linux-gnueabihf
- name: Install gcc-multilib
run: |
sudo apt-get install -y gcc-multilib
sudo apt-get install -y gcc-arm-linux-gnueabihf
- name: Lint
run: |
cargo fmt -- --check
Expand All @@ -49,9 +39,14 @@ jobs:
run: |
cargo check
cargo test --all
- name: Build release
run: cargo build --release --target armv7-unknown-linux-gnueabihf
- name: Build
uses: houseabsolute/actions-rust-cross@v0
with:
command: build
target: aarch64-unknown-linux-gnu
args: "--locked --release"
strip: true

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

0 comments on commit f248414

Please sign in to comment.