Skip to content

Commit

Permalink
fix: always add target with rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ma committed Dec 24, 2024
1 parent 068c149 commit 9a5a9db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/matrix-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
target: aarch64-unknown-linux-gnu
command: cross

- name: linux-x86-gnu
- name: linux-x64-gnu
runner: ubuntu-latest
target: x86_64-unknown-linux-gnu
command: cross
Expand Down Expand Up @@ -95,6 +95,8 @@ jobs:
- name: Build Binary
shell: bash
run: |
rustup target add ${{ matrix.target }}
if [[ "${{ matrix.runner }}" == "ubuntu-latest" ]]; then
echo "Build with Jack feature"
${{ matrix.command }} build --locked --features jack --release --target ${{ matrix.target }}
Expand Down

0 comments on commit 9a5a9db

Please sign in to comment.