Skip to content

Commit 2c59be5

Browse files
committed
skip-fmwk and record compile log
1 parent 12c9a66 commit 2c59be5

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/onestep.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@ function init_platform
3333

3434
echo "---generate src log--------------------------------------"
3535
cd build/src/$plat
36-
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > $DIST_DIR/$plat-src-log-$RELEASE_VERSION.md
36+
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > $DIST_DIR/$plat-compile-log-$RELEASE_VERSION.md
3737
cd $ROOT_DIR
3838
}
3939

4040
function compile_ios_platform
4141
{
4242
echo "---do compile ios libs--------------------------------------"
43-
./main.sh compile -p ios -c build -l ${LIB_NAME}
43+
./main.sh compile -p ios -c build -l ${LIB_NAME} --skip-fmwk >> $DIST_DIR/ios-compile-log-$RELEASE_VERSION.md
44+
4445
cd build/product/ios/universal
4546
zip -ryq $DIST_DIR/${LIB_NAME}-ios-universal-${RELEASE_VERSION}.zip ./*
4647

@@ -52,7 +53,8 @@ function compile_ios_platform
5253
function compile_macos_platform
5354
{
5455
echo "---do compile macos libs--------------------------------------"
55-
./main.sh compile -p macos -c build -l ${LIB_NAME}
56+
./main.sh compile -p macos -c build -l ${LIB_NAME} --skip-fmwk >> $DIST_DIR/macos-compile-log-$RELEASE_VERSION.md
57+
5658
cd build/product/macos/universal
5759
zip -ryq $DIST_DIR/${LIB_NAME}-macos-universal-${RELEASE_VERSION}.zip ./*
5860
cd $ROOT_DIR
@@ -61,7 +63,8 @@ function compile_macos_platform
6163
function compile_tvos_platform
6264
{
6365
echo "---do compile tvos libs--------------------------------------"
64-
./main.sh compile -p tvos -c build -l ${LIB_NAME}
66+
./main.sh compile -p tvos -c build -l ${LIB_NAME} --skip-fmwk >> $DIST_DIR/android-compile-log-$RELEASE_VERSION.md
67+
6568
cd build/product/tvos/universal
6669
zip -ryq $DIST_DIR/${LIB_NAME}-tvos-universal-${RELEASE_VERSION}.zip ./*
6770

@@ -74,7 +77,7 @@ function compile_tvos_platform
7477
function compile_android_platform
7578
{
7679
echo "---do compile android libs--------------------------------------"
77-
./main.sh compile -p android -c build -l ${LIB_NAME}
80+
./main.sh compile -p android -c build -l ${LIB_NAME} >> $DIST_DIR/android-compile-log-$RELEASE_VERSION.md
7881
cd build/product/android/universal
7982
zip -ryq $DIST_DIR/${LIB_NAME}-android-universal-${RELEASE_VERSION}.zip ./*
8083
cd $ROOT_DIR

0 commit comments

Comments
 (0)