File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 ndk-version : r21e
2323 add-to-path : false
24+ local-cache : true
2425 - name : One Step
2526 run : .github/workflows/onestep.sh yuv all
2627 env :
Original file line number Diff line number Diff line change @@ -63,6 +63,16 @@ function compile_tvos_platform
6363 cd $ROOT_DIR
6464}
6565
66+
67+ function compile_android_platform
68+ {
69+ echo " ---do compile android libs--------------------------------------"
70+ ./main.sh compile -p android -c build -l ${LIB_NAME}
71+ cd build/product/android
72+ zip -rq $DIST_DIR /${LIB_NAME} -android-${RELEASE_VERSION} .zip ./*
73+ cd $ROOT_DIR
74+ }
75+
6676function make_bundle()
6777{
6878 echo " ---Zip apple xcframework--------------------------------------"
@@ -108,6 +118,11 @@ function main()
108118 make_bundle
109119 publish
110120 ;;
121+ android)
122+ init_platform $PLAT
123+ compile_android_platform
124+ make_bundle
125+ publish
111126 all)
112127 init_platform ios
113128 compile_ios_platform
@@ -116,6 +131,10 @@ function main()
116131 init_platform tvos
117132 compile_tvos_platform
118133 make_bundle
134+
135+ init_platform android
136+ compile_android_platform
137+
119138 publish
120139 ;;
121140 esac
@@ -127,4 +146,4 @@ if [[ $LIB_NAME == 'test' ]];then
127146 publish
128147else
129148 main
130- fi
149+ fi
You can’t perform that action at this time.
0 commit comments