Skip to content

Commit e0ff05b

Browse files
committed
fix: Add recursive clone for libdatachannel submodules in WebRTC builds
- Fix libdatachannel dependency build failures by using --recursive clone - Ensure all git submodules (plog, usrsctp, libsrtp, libjuice, json) are properly initialized - Apply fix to all WebRTC build jobs: Linux, Windows (32/64), macOS (ARM64/x86_64) - Resolve CMake errors about missing CMakeLists.txt files in deps/ directories This fixes the WebRTC build failures where libdatachannel dependencies were missing due to uninitialized git submodules, ensuring all WebRTC builds can complete successfully across all platforms.
1 parent 0900865 commit e0ff05b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
100100
- name: Build and install libdatachannel
101101
run: |
102-
git clone https://github.com/paullouisageneau/libdatachannel.git
102+
git clone --recursive https://github.com/paullouisageneau/libdatachannel.git
103103
cd libdatachannel
104104
cmake -B build -DUSE_GNUTLS=0 -DUSE_NICE=0 -DCMAKE_BUILD_TYPE=Release
105105
cmake --build build
@@ -135,7 +135,7 @@ jobs:
135135
136136
- name: Build and install libdatachannel
137137
run: |
138-
git clone https://github.com/paullouisageneau/libdatachannel.git
138+
git clone --recursive https://github.com/paullouisageneau/libdatachannel.git
139139
cd libdatachannel
140140
cmake -B build -DUSE_GNUTLS=0 -DUSE_NICE=0 -DCMAKE_BUILD_TYPE=Release
141141
cmake --build build
@@ -183,7 +183,7 @@ jobs:
183183
184184
- name: Build and install libdatachannel
185185
run: |
186-
git clone https://github.com/paullouisageneau/libdatachannel.git
186+
git clone --recursive https://github.com/paullouisageneau/libdatachannel.git
187187
cd libdatachannel
188188
cmake -B build -DUSE_GNUTLS=0 -DUSE_NICE=0 -DCMAKE_BUILD_TYPE=Release
189189
cmake --build build
@@ -260,7 +260,7 @@ jobs:
260260
261261
- name: Build and install libdatachannel for cross-compilation
262262
run: |
263-
git clone https://github.com/paullouisageneau/libdatachannel.git
263+
git clone --recursive https://github.com/paullouisageneau/libdatachannel.git
264264
cd libdatachannel
265265
# Cross-compile for Windows 32-bit
266266
cmake -B build-win32 \
@@ -361,7 +361,7 @@ jobs:
361361
362362
- name: Build and install libdatachannel for cross-compilation
363363
run: |
364-
git clone https://github.com/paullouisageneau/libdatachannel.git
364+
git clone --recursive https://github.com/paullouisageneau/libdatachannel.git
365365
cd libdatachannel
366366
# Cross-compile for Windows 64-bit
367367
cmake -B build-win64 \
@@ -481,7 +481,7 @@ jobs:
481481
482482
- name: Build and install libdatachannel
483483
run: |
484-
git clone https://github.com/paullouisageneau/libdatachannel.git
484+
git clone --recursive https://github.com/paullouisageneau/libdatachannel.git
485485
cd libdatachannel
486486
cmake -B build -DUSE_GNUTLS=0 -DUSE_NICE=0 -DCMAKE_BUILD_TYPE=Release
487487
cmake --build build
@@ -594,7 +594,7 @@ jobs:
594594
595595
- name: Build and install libdatachannel
596596
run: |
597-
git clone https://github.com/paullouisageneau/libdatachannel.git
597+
git clone --recursive https://github.com/paullouisageneau/libdatachannel.git
598598
cd libdatachannel
599599
cmake -B build -DUSE_GNUTLS=0 -DUSE_NICE=0 -DCMAKE_BUILD_TYPE=Release
600600
cmake --build build

0 commit comments

Comments
 (0)