[CI] Upload libxgboost4j.dylib (M1) to S3 bucket (#9886)
* [CI] Upload libxgboost4j.dylib (M1) to S3 bucket * Fix typo
This commit is contained in:
parent
42173d7bc3
commit
936b22fdf3
@ -24,6 +24,20 @@ popd
|
|||||||
rm -rf build
|
rm -rf build
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
|
echo "--- Upload Python wheel"
|
||||||
|
set -x
|
||||||
|
pushd lib
|
||||||
|
mv -v libxgboost4j.dylib libxgboost4j_m1_${BUILDKITE_COMMIT}.dylib
|
||||||
|
buildkite-agent artifact upload libxgboost4j_m1_${BUILDKITE_COMMIT}.dylib
|
||||||
|
if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
|
||||||
|
then
|
||||||
|
aws s3 cp libxgboost4j_m1_${BUILDKITE_COMMIT}.dylib \
|
||||||
|
s3://xgboost-nightly-builds/${BRANCH_NAME}/libxgboost4j/ \
|
||||||
|
--acl public-read --no-progress
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
set +x
|
||||||
|
|
||||||
# Ensure that XGBoost can be built with Clang 11
|
# Ensure that XGBoost can be built with Clang 11
|
||||||
echo "--- Build and Test XGBoost with MacOS M1, Clang 11"
|
echo "--- Build and Test XGBoost with MacOS M1, Clang 11"
|
||||||
set -x
|
set -x
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user