ci: install further optional dependencies for demos

Achieved 100% pass rate for demo tests, at least on macOS.
This commit is contained in:
Aofei Sheng
2024-07-31 10:49:07 +08:00
parent 21b5b60278
commit a4ec6cce96
2 changed files with 17 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
# llgo run subdirectories under _demo and _pydemo
total=0
@@ -8,7 +9,7 @@ for d in ./_demo/* ./_pydemo/*; do
total=$((total+1))
if [ -d "$d" ]; then
echo "Testing $d"
if ! llgo run "$d"; then
if ! (cd "$d" && llgo run .); then
echo "FAIL"
failed=$((failed+1))
failed_cases="$failed_cases\n* :x: $d"