Skip to content

Commit bdb05c9

Browse files
committed
[ci] Workaround nightly C++ test crash
1 parent 7454cbb commit bdb05c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/scripts/unix_test.sh

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export TI_IN_DOCKER=$(check_in_docker)
1111
export LD_LIBRARY_PATH=$PWD/build/:$LD_LIBRARY_PATH
1212
export TI_OFFLINE_CACHE_FILE_PATH=$PWD/.cache/taichi
1313

14+
1415
if [[ "$TI_IN_DOCKER" == "true" ]]; then
1516
source $HOME/miniconda/etc/profile.d/conda.sh
1617
conda activate "$PY"
@@ -61,6 +62,10 @@ fi
6162

6263

6364
if [ -z "$TI_SKIP_CPP_TESTS" ]; then
65+
if [[ "$OSTYPE" == "linux-"* -a "$TI_IN_DOCKER" == "true" ]]; then
66+
# Remove mesa EGL driver, which interferes with the propritary NVIDIA drivers
67+
rm -f /usr/lib/x86_64-linux-gnu/libEGL_mesa*
68+
fi
6469
python3 tests/run_tests.py --cpp
6570
fi
6671

0 commit comments

Comments
 (0)