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 4c8b23a commit 7e7cb58
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,47 +20,26 @@ jobs:
- {
os: "windows-latest",
target: "x86_64-pc-windows-msvc",
cross: false,
}
- {
os: "windows-2022",
target: "i686-pc-windows-msvc",
cross: true,
}
- {
os: "windows-2019",
target: "aarch64-pc-windows-msvc",
cross: true,
}
- {
os: "ubuntu-latest",
target: "x86_64-unknown-linux-gnu",
cross: false,
}
- {
os: "ubuntu-24.04",
target: "aarch64-unknown-linux-gnu",
cross: true,
}
- {
os: "ubuntu-22.04",
target: "x86_64-unknown-linux-musl",
cross: true,
}
- {
os: "macos-15",
target: "aarch64-unknown-linux-musl",
cross: true,
}
- {
os: "macos-latest",
target: "aarch64-apple-darwin",
cross: false
}
- {
os: "macos-13",
target: "x86_64-apple-darwin",
cross: false
}

steps:
Expand All @@ -84,15 +63,8 @@ jobs:
toolchain: stable
targets: ${{ matrix.info.target }}

- name: Install musl-tools
if: matrix.info.target == 'x86_64-unknown-linux-musl' == true
run: |
sudo apt-get update
sudo apt-get install -y musl-tools
- name: Build Hayabusa binary
run: |
cargo run --release -- update-rules -q
cargo build --release --target ${{ matrix.info.target }}
- name: Package and Zip - Windows
Expand Down

0 comments on commit 7e7cb58

Please sign in to comment.