17 lines
484 B
Bash
Executable File
17 lines
484 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
echo "--- Test CPU code in Python env"
|
|
|
|
source tests/buildkite/conftest.sh
|
|
|
|
mkdir -pv python-package/dist
|
|
buildkite-agent artifact download "python-package/dist/*.whl" . --step build-cuda
|
|
buildkite-agent artifact download "xgboost" . --step build-cpu
|
|
chmod +x ./xgboost
|
|
|
|
export BUILDKITE_ANALYTICS_TOKEN=$(get_aws_secret buildkite/test_analytics/cpu)
|
|
set_buildkite_env_vars_in_container
|
|
tests/ci_build/ci_build.sh cpu tests/ci_build/test_python.sh cpu
|