Files
ReAgent/scripts/setup.sh
T
Jason Gauci fad30d7aff Remove thrift and add RASP to setup.sh (#187)
Summary:
Part of addressing https://github.com/facebookresearch/ReAgent/issues/185
Pull Request resolved: https://github.com/facebookresearch/ReAgent/pull/187

Reviewed By: kittipatv

Differential Revision: D18597259

Pulled By: MisterTea

fbshipit-source-id: 57953d0ba65f5f6a327adea13c96381f365bb04c
2019-11-29 07:52:14 -08:00

21 lines
403 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
set -ex
pip uninstall -y reagent
# Install the current directory into python path
pip install -e .
# Build RASP and run tests
mkdir -p serving/build
pushd serving/build
cmake -DCMAKE_PREFIX_PATH=$HOME/libtorch ..
make -j4
make test
popd
# Run workflow tests
pytest ml/rl/test/workflow/test_oss_workflows.py