mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 06:19:23 +08:00
Set up testing and wheels for Windows on GitHub Actions (#8131)
* Move some Java tests into ci.sh * Move C++ worker tests into ci.sh * Define run() * Prepare to move Python tests into ci.sh * Fix issues in install-dependencies.sh * Reload environment for GitHub Actions * Move wheels to ci.sh and fix related issues * Don't bypass failures in install-ray.sh anymore * Make CI a little quieter * Move linting into ci.sh * Add vitals test right after build * Fix os.uname() unavailability on Windows Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
@@ -18,7 +18,11 @@ jobs:
|
||||
- name: macos
|
||||
os: macos-10.15
|
||||
env:
|
||||
GITHUB_PULL_REQUEST: ${{ github.event.number }}
|
||||
PYTHON: 3.6
|
||||
TRAVIS_BUILD_DIR: ${{ github.workspace }}
|
||||
TRAVIS_COMMIT: ${{ github.sha }}
|
||||
#TRAVIS_PULL_REQUEST is defined in the scripts to account for "false"
|
||||
steps:
|
||||
- name: Pre-checkout system configuration
|
||||
# We add -l to process .bashrc, but need -e -o pipefail for consistency with GitHub Actions's default behavior.
|
||||
@@ -40,9 +44,17 @@ jobs:
|
||||
env:
|
||||
BAZEL_CACHE_CREDENTIAL_B64: ${{ secrets.BAZEL_CACHE_CREDENTIAL_B64 }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
#LINUX_WHEELS: 1
|
||||
LINT: 1
|
||||
#MAC_WHEELS: 1
|
||||
RAY_DEFAULT_BUILD: 1
|
||||
WINDOWS_WHEELS: 1
|
||||
run: |
|
||||
. ./ci/travis/ci.sh init
|
||||
. ./ci/travis/ci.sh lint
|
||||
. ./ci/travis/ci.sh build
|
||||
. ./ci/travis/ci.sh test_python
|
||||
. ./ci/travis/ci.sh test_wheels
|
||||
- name: Run Clang Include-What-You-Use
|
||||
continue-on-error: true
|
||||
if: runner.os == 'Linux'
|
||||
|
||||
Reference in New Issue
Block a user