sanity_check_cpp.sh 329 B

12345678910111213
  1. #!/usr/bin/env bash
  2. # This script generate a ray C++ template and run example
  3. set -e
  4. rm -rf ray-template
  5. ray cpp --generate-bazel-project-template-to ray-template
  6. (
  7. cd ray-template
  8. # Our generated CPP template does not work with bazel 7.x ,
  9. # so pin the bazel version to 6
  10. USE_BAZEL_VERSION=6.5.0 bash run.sh
  11. )