Skip to content

Commit 7078419

Browse files
committed
skip webp for android
1 parent 08a6c71 commit 7078419

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/all.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,27 @@ jobs:
9191
9292
compile_lib() {
9393
local lib_name=$1
94-
94+
95+
if [[ "$lib_name" == "fontconfig" ]]; then
96+
if [[ "$Platform" == "all" ]]; then
97+
echo "force Platform to android for fontconfig"
98+
Platform='android'
99+
elif [[ "$Platform" != "android" ]]; then
100+
echo "Skip fontconfig for $Platform"
101+
return
102+
fi
103+
fi
104+
105+
if [[ "$lib_name" == "webp" ]]; then
106+
if [[ "$Platform" == "android" ]]; then
107+
echo "Skip webp for android"
108+
return
109+
elif [[ "$Platform" == "all" ]]; then
110+
echo "Skip webp for android"
111+
Platform='apple'
112+
fi
113+
fi
114+
95115
echo "------compile $Platform $lib_name------------------------------------"
96116
rm -rf build || git reset --hard || git pull origin
97117
.github/workflows/install-dependencies.sh $lib_name $Platform # 补全依赖安装步骤

0 commit comments

Comments
 (0)