Skip to content

Commit

Permalink
Merge pull request #442 from AgoraIO/dev/4.5.0-script-ci
Browse files Browse the repository at this point in the history
Dev/4.5.0 script ci
  • Loading branch information
pandaBilbo authored Nov 15, 2024
2 parents 9a22b48 + 50caa68 commit eee30cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/ci/build/build_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,17 @@ else
rm -rf ./$unzip_name/bin
rm ./$unzip_name/commits
rm ./$unzip_name/package_size_report.txt

rm ./$unzip_name/.commits
rm ./$unzip_name/AgoraInfra_iOS.swift
rm ./$unzip_name/AgoraRtcEngine_iOS.podspec
rm ./$unzip_name/Package.swift
mkdir -p ./$unzip_name/samples
cp -rf ./iOS/${ios_direction} ./$unzip_name/samples/${ios_direction} || exit 1
ls -al ./$unzip_name/samples/${ios_direction}/
mv ./$unzip_name/samples/${ios_direction}/sdk.podspec ./$unzip_name/ || exit 1
fi

echo "work space1: $WORKSPACE"
python3 ./.github/ci/build/modify_podfile.py ./$unzip_name/samples/${ios_direction}/Podfile $sdk_url_flag || exit 1

echo "start compress"
Expand Down
5 changes: 5 additions & 0 deletions .github/ci/build/build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ else
rm -rf ./$unzip_name/bin
rm ./$unzip_name/commits
rm ./$unzip_name/package_size_report.txt
rm ./$unzip_name/.commits
rm ./$unzip_name/AgoraInfra_macOS.swift
rm ./$unzip_name/AgoraRtcEngine_macOS.podspec
rm ./$unzip_name/Package.swift

mkdir ./$unzip_name/samples
cp -rf ./macOS ./$unzip_name/samples/APIExample || exit 1
ls -al ./$unzip_name/samples/API-Example/
Expand Down

0 comments on commit eee30cc

Please sign in to comment.