Pass Apple Rust build tools into Bazel actions
This commit is contained in:
parent
5150faad99
commit
ddbfa47587
4 changed files with 29 additions and 3 deletions
|
|
@ -335,9 +335,14 @@ jobs:
|
|||
fi
|
||||
|
||||
NIX_BIN="$(bash Scripts/ci/resolve-nix-bin.sh)"
|
||||
ci_path="$("$NIX_BIN" develop .#ci --command bash -lc 'printf "%s" "$PATH"')"
|
||||
ci_protoc="$("$NIX_BIN" develop .#ci --command bash -lc 'command -v protoc')"
|
||||
"$NIX_BIN" develop .#ci --command bazel "${bazel_args[@]}" build \
|
||||
--verbose_failures \
|
||||
--show_timestamps \
|
||||
--experimental_ui_max_stdouterr_bytes=16777216 \
|
||||
--action_env=PATH="$ci_path" \
|
||||
--action_env=PROTOC="$ci_protoc" \
|
||||
--action_env=BUILD_WORKSPACE_DIRECTORY="$PWD" \
|
||||
--action_env=BUILD_NUMBER="$BUILD_NUMBER" \
|
||||
--action_env=BURROW_RELEASE_OUT="$PWD/dist/builds/$BUILD_NUMBER" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue