mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Skip uneeded steps on CI (#9582)
Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
parent
150880e5e9
commit
02cbd4fb7e
3 changed files with 11 additions and 1 deletions
|
@ -437,7 +437,9 @@ init() {
|
|||
}
|
||||
|
||||
build() {
|
||||
if [ "${LINT-}" != 1 ]; then
|
||||
_bazel_build_before_install
|
||||
fi
|
||||
|
||||
if ! need_wheels; then
|
||||
install_ray
|
||||
|
|
|
@ -51,6 +51,12 @@ install_base() {
|
|||
}
|
||||
|
||||
install_miniconda() {
|
||||
if [ "${OSTYPE}" = msys ]; then
|
||||
# Windows is on GitHub Actions, whose built-in Python installations we added direct support for.
|
||||
python --version
|
||||
return 0
|
||||
fi
|
||||
|
||||
local conda="${CONDA_EXE-}" # Try to get the activated conda executable
|
||||
|
||||
if [ -z "${conda}" ]; then # If no conda is found, try to find it in PATH
|
||||
|
|
|
@ -38,6 +38,8 @@ install_ray() {
|
|||
|
||||
uninstall_ray() {
|
||||
pip uninstall -y ray
|
||||
|
||||
rm -r -f "${WORKSPACE_DIR}"/python/ray/thirdparty_files
|
||||
}
|
||||
|
||||
build_wheel_windows() {
|
||||
|
|
Loading…
Add table
Reference in a new issue