forked from taichi-dev/taichi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Add end-to-end CI tests for meshtaichi (taichi-dev#6321)
Continued from taichi-dev#6310. Changes of mesh.py in taichi need to be merged before this CI change.
- Loading branch information
1 parent
4db2b31
commit 082b4d0
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,3 +111,15 @@ else | |
python3 tests/run_tests.py -vr2 -t1 -k "torch" -a "$TI_WANTED_ARCHS" | ||
# Paddle's paddle.fluid.core.Tensor._ptr() is only available on develop branch, and CUDA version on linux will get error `Illegal Instruction` | ||
fi | ||
|
||
# meshtaichi end-to-end test | ||
if [[ $OSTYPE == "linux-"* && ($TI_WANTED_ARCHS == *"cuda"* || $TI_WANTED_ARCHS == *"cpu"*) ]]; then | ||
python3 -m pip install meshtaichi_patcher --upgrade | ||
# git clone [email protected]:taichi-dev/meshtaichi.git | ||
if [[ $TI_WANTED_ARCHS == *"cuda"* ]]; then | ||
python3 meshtaichi/ci/run_test.py --arch cuda | ||
fi | ||
if [[ $TI_WANTED_ARCHS == *"cpu"* ]]; then | ||
python3 meshtaichi/ci/run_test.py --arch cpu | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters