[*] win long filename

This commit is contained in:
acgist
2023-04-15 21:58:45 +08:00
parent f390db7ac7
commit 6912c055d7
2 changed files with 4 additions and 4 deletions

View File

@@ -58,8 +58,6 @@ jobs:
# - name: Build with NodeJS
# run: |
# npm install
# # 不能直接运行
# # npm run dev
# working-directory: ./taoyao-client-media
taoyao-client-android:
name: Build taoyao client android
@@ -94,9 +92,10 @@ jobs:
echo "======"
ls ./taoyao-client-android/taoyao/media/deps/libmediasoupclient
cd ./taoyao-client-android/taoyao
sh ./gradlew --no-daemon assembleRelease
sh ./gradlew --no-daemon assembleRelease
- name: Build with Gradle
if: runner.os == 'windows'
run: |
git config global core.longpaths true
cd ./taoyao-client-android/taoyao
./gradlew.bat --no-daemon assembleRelease

View File

@@ -8,6 +8,7 @@ def WEBRTC_LIB_PATH = "${projectDir}/deps/webrtc/lib"
android {
namespace 'com.acgist.mediasoup'
compileSdk 32
// ndkVersion "23.1.7779620"
defaultConfig {
minSdk 30
targetSdk 32
@@ -18,7 +19,7 @@ android {
cmake {
cFlags '-std=c17'
cppFlags '-std=c++17'
// CPU架构x86_64、x86、arm64-v8a、armeabi-v7a
// CPU架构x86、x86_64、arm64-v8a、armeabi-v7a
abiFilters 'arm64-v8a'
arguments "-DLIBWEBRTC_INCLUDE_PATH=" + WEBRTC_INC_PATH,
"-DLIBWEBRTC_BINARY_PATH=" + WEBRTC_LIB_PATH,