File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ wget https://dl.google.com/android/repository/commandlinetools-linux-8512546_lat
8787unzip commandlinetools-linux-8512546_latest.zip
8888export PATH=$( pwd) /cmdline-tools/bin:$PATH
8989yes | sdkmanager --licenses --sdk_root=${ANDROID_HOME}
90- yes | sdkmanager " platform-tools" " platforms;android-31 " --sdk_root=${ANDROID_HOME}
90+ yes | sdkmanager " platform-tools" " cmake;3.10.2.4988404 " " platforms;android-32 " " build-tools;32.0.0 " --sdk_root=${ANDROID_HOME}
9191cd -
9292
9393# compile apk
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ echo off
7070REM curl --silent %sdk_url% ./
7171python %WORKSPACE% \\artifactory_utils.py --action=download_file --file=%sdk_url%
72727z x ./%zip_name% -y
73+ del /F ./%zip_name%
7374echo on
7475
7576dir
@@ -86,3 +87,10 @@ xcopy /Y /E windows\README.md Agora_Native_SDK_for_Windows_FULL\samples\API-exam
8687xcopy /Y /E windows\README.zh.md Agora_Native_SDK_for_Windows_FULL\samples\API-example
87887z a -tzip result.zip -r Agora_Native_SDK_for_Windows_FULL
8889copy result.zip %WORKSPACE% \\withAPIExample_%zip_name%
90+ del /F result.zip
91+
92+ cd Agora_Native_SDK_for_Windows_FULL\samples\API-example
93+ ./installThirdParty.bat
94+ " %vs2019_install% \MSBuild\Current\Bin\MSBuild.exe" " APIExample.sln" /p:platform=" Win32" /p:configuration=" Release"
95+ 7z a -tzip result.zip -r Release
96+ copy result.zip %WORKSPACE% \\APIExample-windows.zip
You can’t perform that action at this time.
0 commit comments