onnxruntime/server/ci/run.sh
Changming Sun ed2d441a2e
Update ORT server build pipeline (#7030)
1. Migrated it to Ed's new docker build script
2. Use python 3.6 instead, because it is the default one in ubuntu 18.04
3. Move the "pip install" command to the docker image build stage(instead of when running the image)
2021-03-16 18:02:09 -07:00

10 lines
336 B
Bash
Executable file

#!/bin/bash
set -e
cd /build
cmake -DCMAKE_BUILD_TYPE=Debug /onnxruntime_src
make -j$(getconf _NPROCESSORS_ONLN)
cd /onnxruntime_src/test
/build/onnxruntime_server_tests
cd /build
python3 server_test/test_main.py /build/onnxruntime_server /build/models/opset8/test_mnist /onnxruntime_src/test/testdata/server /build /build/server_test