提交 f814a4ae 编写于 作者: H huangxinda

ci(mge): update test script

上级 2c4ee992
...@@ -65,7 +65,12 @@ jobs: ...@@ -65,7 +65,12 @@ jobs:
- name: Build MegEngine - name: Build MegEngine
run: ./ci/cmake.sh cpu run: ./ci/cmake.sh cpu
- name: Python test - name: Python test
run: ./ci/run_python_test.sh cpu run: |
rm -rf imperative/python/megenginelite/
cp -rf lite/pylite/megenginelite/ imperative/python/
mkdir -p imperative/python/megenginelite/libs
cp /tmp/build/cpu/lite/liblite_shared_whl.so imperative/python/megenginelite/libs/liblite_shared_whl.so
./ci/run_python_test.sh cpu
- name: C++ test - name: C++ test
run: ./ci/run_cpp_test.sh cpu run: ./ci/run_cpp_test.sh cpu
gpu-test: gpu-test:
...@@ -88,7 +93,12 @@ jobs: ...@@ -88,7 +93,12 @@ jobs:
- name: Build MegEngine - name: Build MegEngine
run: ./ci/cmake.sh cuda run: ./ci/cmake.sh cuda
- name: Python test - name: Python test
run: ./ci/run_python_test.sh cuda run: |
rm -rf imperative/python/megenginelite/
cp -rf lite/pylite/megenginelite/ imperative/python/
mkdir -p imperative/python/megenginelite/libs
cp /tmp/build/cuda/lite/liblite_shared_whl.so imperative/python/megenginelite/libs/liblite_shared_whl.so
./ci/run_python_test.sh cuda
- name: C++ test - name: C++ test
run: ./ci/run_cpp_test.sh cuda run: ./ci/run_cpp_test.sh cuda
auto-merge: auto-merge:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册