[*] 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
|
# - 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
|
||||||
@@ -94,9 +92,10 @@ jobs:
|
|||||||
echo "======"
|
echo "======"
|
||||||
ls ./taoyao-client-android/taoyao/media/deps/libmediasoupclient
|
ls ./taoyao-client-android/taoyao/media/deps/libmediasoupclient
|
||||||
cd ./taoyao-client-android/taoyao
|
cd ./taoyao-client-android/taoyao
|
||||||
sh ./gradlew --no-daemon assembleRelease
|
sh ./gradlew --no-daemon assembleRelease
|
||||||
- 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
|
||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user