Skip to content

Commit

Permalink
fix: specify target when cargo build
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Oct 10, 2024
1 parent 5c7ca79 commit cd7f624
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,17 @@ jobs:
targets: ${{ matrix.info.target }}

- name: Install musl-tools
if: contains(matrix.info.target, 'musl') == true
if: matrix.info.target == 'x86_64-unknown-linux-musl' == true
run: |
sudo apt-get update
sudo apt-get install -y musl-tools
- name: Install musl-tools(aarch64)
if: matrix.info.target == 'aarch64-unknown-linux-musl' == true
run: |
sudo apt-get update
sudo apt-get install -y aarch64-linux-musl-gcc
- name: Build Hayabusa binary
run: |
cargo run --release -- update-rules -q
Expand Down

0 comments on commit cd7f624

Please sign in to comment.