Skip to content

Commit

Permalink
Try to fix freebsd build
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Sep 22, 2024
1 parent f8a19f5 commit 3950593
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-pkg.nu
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ if $os in ['macos-latest'] or $USE_UBUNTU {
}
match $target {
'x86_64-unknown-freebsd' => {
cargo install cross
cross build --release --all --target $target
docker container run --rm --volume $'($env.GITHUB_WORKSPACE):/src' --user rust:rust unixgeek2/rust-x86_64-freebsd:rust-1.79.0 build --release --all --target $target
}
'aarch64-unknown-linux-gnu' => {
sudo apt-get install gcc-aarch64-linux-gnu -y
Expand Down

0 comments on commit 3950593

Please sign in to comment.