[*] 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 # - name: Build with NodeJS
# run: | # run: |
# npm install # npm install
# # 不能直接运行
# # npm run dev
# working-directory: ./taoyao-client-media # working-directory: ./taoyao-client-media
taoyao-client-android: taoyao-client-android:
name: Build taoyao client android name: Build taoyao client android
@@ -98,5 +96,6 @@ jobs:
- name: Build with Gradle - name: Build with Gradle
if: runner.os == 'windows' if: runner.os == 'windows'
run: | run: |
git config global core.longpaths true
cd ./taoyao-client-android/taoyao cd ./taoyao-client-android/taoyao
./gradlew.bat --no-daemon assembleRelease ./gradlew.bat --no-daemon assembleRelease

View File

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