mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
Bazel mirrors (#7385)
* Switch to mirrors.bazel.build where possible * Switch from .zip to .tar.gz for smaller downloads (it's also the default download on UNIX) * Use direct GitHub URLs in Bazel files for clarity * Don't pass patches to local_repository * Remove github_repository() * Switch to GitHub actions/checkout@v2 which is faster * Use faster extraction method for LLVm on Windows * Move LLVM_VERSION_WINDOWS to the shell script since it's not a CI-specific value * Change GITHUB_TOKEN to GITHUB * Don't show timestamps for GitHub Actions * Factor out some options from GitHub Actions * Tell Bazel to stay on the same volume in GitHun Actions * Display progress output when downloading toolchains Co-authored-by: GitHub Web Flow <noreply@github.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
name: CI
|
||||
|
||||
env:
|
||||
LLVM_VERSION_WINDOWS: 9.0.0
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
|
||||
on: [push, pull_request]
|
||||
@@ -22,7 +21,7 @@ jobs:
|
||||
compiler: clang
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Setup Bazel
|
||||
@@ -47,10 +46,6 @@ jobs:
|
||||
--compilation_mode=fastbuild \
|
||||
--config=iwyu \
|
||||
--keep_going \
|
||||
--show_progress_rate_limit=5 \
|
||||
--show_task_finish \
|
||||
--show_timestamps \
|
||||
--verbose_failures \
|
||||
"//:*"
|
||||
build:
|
||||
name: ${{ matrix.name }}
|
||||
@@ -69,9 +64,7 @@ jobs:
|
||||
compiler: clang-cl
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Bazel
|
||||
shell: bash
|
||||
env:
|
||||
@@ -95,8 +88,4 @@ jobs:
|
||||
. ./ci/travis/build-helper.sh prep_build_env
|
||||
bazel --batch build \
|
||||
--keep_going \
|
||||
--show_progress_rate_limit=5 \
|
||||
--show_task_finish \
|
||||
--show_timestamps \
|
||||
--verbose_failures \
|
||||
"//:ray_pkg" # TODO(mehrdadn): Should be "//:*", but we get a linking error with _streaming.so
|
||||
|
||||
Reference in New Issue
Block a user