forked from combust/mleap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (27 loc) · 812 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
SHELL := /bin/bash
SBT ?= sbt
all: test
.PHONY: test_executor
test_executor:
$(SBT) "+ mleap-executor-tests/test"
.PHONY: test_benchmark
test_benchmark:
$(SBT) "+ mleap-benchmark/test"
.PHONY: test_root_sbt_project
test_root_sbt_project:
$(SBT) "+ test"
.PHONY: test_xgboost_runtime
test_xgboost_runtime:
$(SBT) "+ mleap-xgboost-runtime/test"
.PHONY: test_xgboost_spark
test_xgboost_spark:
$(SBT) "+ mleap-xgboost-spark/test"
.PHONY: py36_test
py36_test:
source scripts/scala_classpath_for_python.sh && make -C python py36_test
.PHONY: py37_test
py37_test:
source scripts/scala_classpath_for_python.sh && make -C python py37_test
.PHONY: test
test: test_executor test_benchmark test_xgboost_runtime test_xgboost_spark test_root_sbt_project py36_test py37_test
@echo "All tests run successfully"