Skip to content

Commit

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

0 comments on commit 8bd7b2e

Please sign in to comment.