mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-19 21:32:23 +00:00
**Description**: Describe your changes. Add migraphx ci pipeline, test build and unit tests. This PR is based on #11492 Pipeline : https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=765711&view=results
15 lines
427 B
Bash
Executable file
15 lines
427 B
Bash
Executable file
#!/bin/bash
|
|
|
|
build_dir=${1:-"."}
|
|
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
echo "Warning: The following tests are EXCLUDED on MIGraphX agent:"
|
|
gtest_filter="-"
|
|
while read line; do
|
|
gtest_filter="$gtest_filter:$line"
|
|
echo "$line"
|
|
done <$script_dir/migraphx-excluded-tests.txt
|
|
echo ""
|
|
|
|
echo "Running ./onnxruntime_test_all .."
|
|
$build_dir/onnxruntime_test_all --gtest_filter=$gtest_filter
|