mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 16:07:49 +08:00
Perform Bazel install directly in Windows CI (#6653)
This commit is contained in:
+10
-10
@@ -3,7 +3,7 @@ name: CI
|
||||
env:
|
||||
LLVM_VERSION_WINDOWS: 9.0.0
|
||||
|
||||
on: [push]
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -22,12 +22,16 @@ jobs:
|
||||
os: windows-latest
|
||||
compiler: clang-cl
|
||||
steps:
|
||||
- name: Install Bazel
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Setup Bazel
|
||||
shell: bash
|
||||
run: |
|
||||
if [ "${OSTYPE}" = "msys" ]; then
|
||||
choco install --no-progress bazel
|
||||
fi
|
||||
env:
|
||||
BAZEL_CACHE_CREDENTIAL_B64: ${{ secrets.BAZEL_CACHE_CREDENTIAL_B64 }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: ./ci/travis/install-bazel.sh
|
||||
- name: Install C/C++ toolchains
|
||||
if: matrix.compiler == 'clang' || matrix.compiler == 'clang-cl'
|
||||
shell: bash
|
||||
@@ -56,10 +60,6 @@ jobs:
|
||||
uses: numworks/setup-msys2@v1
|
||||
with:
|
||||
update: false
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Perform build
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user