[CI] Add ARM64 test to Jenkins pipeline (#6643)

* Add ARM64 test to Jenkins pipeline

* Check for bundled libgomp

* Use a separate test suite for ARM64

* Ensure that x86 jobs don't run on ARM workers
This commit is contained in:
Philip Hyunsu Cho
2021-01-27 21:51:17 +09:00
committed by GitHub
parent 1b70a323a7
commit 55ee2bd77f
2 changed files with 54 additions and 1 deletions

View File

@@ -66,8 +66,15 @@ case "$suite" in
uninstall_xgboost
;;
cpu-arm64)
source activate aarch64_test
install_xgboost
pytest -v -s -rxXs --fulltrace --durations=0 ${args} tests/python/test_basic.py tests/python/test_basic_models.py tests/python/test_model_compatibility.py
uninstall_xgboost
;;
*)
echo "Usage: $0 {gpu|mgpu|cpu} [extra args to pass to pytest]"
echo "Usage: $0 {gpu|mgpu|cpu|cpu-arm64} [extra args to pass to pytest]"
exit 1
;;
esac