[*] win long filename
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -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
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user