Skip to content

Commit

Permalink
feat: modify ci for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
weileifrank committed Oct 31, 2024
1 parent bcb589a commit f8a724b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/ci/build/build_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ echo short_version: %short_version%
echo pwd: %cd%
echo sdk_url: %sdk_url%

echo off

set zip_name=Agora_Native_SDK_for_Windows_FULL_DEFAULT.zip
if %compile_project% EQU false goto SKIP_DOWNLOAD
set zip_name=%sdk_url%
:LOOP
for /f "tokens=1* delims=</>" %%a in ("%zip_name%") do (
Expand All @@ -70,11 +72,13 @@ dir
curl %sdk_url% -o %zip_name%
REM python %WORKSPACE%\\artifactory_utils.py --action=download_file --file=%sdk_url%
7z x ./%zip_name% -y

dir
rmdir /S /Q Agora_Native_SDK_for_Windows_FULL\demo
del /F /Q Agora_Native_SDK_for_Windows_FULL\commits
del /F /Q Agora_Native_SDK_for_Windows_FULL\package_size_report.txt
:SKIP_DOWNLOAD


mkdir Agora_Native_SDK_for_Windows_FULL\samples
mkdir Agora_Native_SDK_for_Windows_FULL\samples\API-example
rmdir /S /Q windows\cicd
Expand Down
2 changes: 1 addition & 1 deletion windows/APIExample/install.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$agora_sdk = 'https://download.agora.io/sdk/release/Agora_Native_SDK_for_Windows_v4.5.0_FULL.zip'
$ThirdPartysrc = 'https://fullapp.oss-cn-beijing.aliyuncs.com/API-Examples/ThirdParty.zip'
$ThirdPartydes = 'ThirdParty.zip'
$agora_sdk = 'https://download.agora.io/sdk/release/Agora_Native_SDK_for_Windows_v4.5.0_FULL.zip'
$agora_des = 'AgoraSdk.zip'
$agora_local_sdk = '../../sdk'

Expand Down

0 comments on commit f8a724b

Please sign in to comment.