Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Correctly set CI_OS_NAME for macOs buildkite agents
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jan 3, 2022
1 parent 0a9460e commit fd4754e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion ci/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,18 @@ if [[ -n $CI ]]; then
export CI_BASE_BRANCH=$BUILDKITE_BRANCH
export CI_PULL_REQUEST=
fi
export CI_OS_NAME=linux

case "$(uname -s)" in
Linux)
export CI_OS_NAME=linux
;;
Darwin)
export CI_OS_NAME=osx
;;
*)
;;
esac

if [[ -n $BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG ]]; then
# The solana-secondary pipeline should use the slug of the pipeline that
# triggered it
Expand Down

0 comments on commit fd4754e

Please sign in to comment.