Skip to content

Commit d55ff9b

Browse files
committed
fetch webrtc with history to allow to choose version
1 parent 0328926 commit d55ff9b

File tree

12 files changed

+12
-13
lines changed

12 files changed

+12
-13
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
- run: apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates wget python3 autoconf automake libtool git make g++ xz-utils
2222
- run: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools
2323
- run: echo 'export PATH=/depot_tools:$PATH' >> $BASH_ENV
24-
- run: mkdir ${WEBRTCROOT} && cd ${WEBRTCROOT} && fetch --no-history --nohooks webrtc
25-
- run: cd ${WEBRTCROOT} && sed -i -e "s|'src/resources'],|'src/resources'],'condition':'rtc_include_tests==true',|" src/DEPS
24+
- run: mkdir ${WEBRTCROOT} && cd ${WEBRTCROOT} && fetch --nohooks webrtc
2625

2726
- persist_to_workspace:
2827
root: /

.github/workflows/cpp-cross-linux-arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
mkdir webrtc
6969
pushd webrtc
70-
fetch --no-history --nohooks webrtc
70+
fetch --nohooks webrtc
7171
popd
7272
7373
- name: build

.github/workflows/cpp-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
mkdir webrtc
2828
pushd webrtc
29-
fetch --no-history --nohooks webrtc
29+
fetch --nohooks webrtc
3030
popd
3131
3232
- name: build

.github/workflows/cpp-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
mkdir webrtc
2828
pushd webrtc
29-
fetch --no-history --nohooks webrtc
29+
fetch --nohooks webrtc
3030
popd
3131
3232
- name: build

.github/workflows/cpp-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
set "PATH=%GITHUB_WORKSPACE%\depot_tools;%PATH%"
3535
mkdir %GITHUB_WORKSPACE%\..\webrtc
3636
cd /d %GITHUB_WORKSPACE%\..\webrtc
37-
fetch --no-history webrtc
37+
fetch webrtc
3838
env:
3939
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
4040
CLANG_VERSION: ToT

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tasks:
1010
1111
mkdir ../webrtc
1212
pushd ../webrtc
13-
fetch --no-history webrtc
13+
fetch webrtc
1414
popd
1515
1616
cmake -DCMAKE_BUILD_TYPE=Debug .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
1616
&& git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools \
1717
&& mkdir ../webrtc \
1818
&& cd ../webrtc \
19-
&& fetch --no-history --nohooks webrtc \
19+
&& fetch --nohooks webrtc \
2020
&& cd ../webrtc-streamer \
2121
&& cmake -DCMAKE_INSTALL_PREFIX=/app . && make \
2222
&& make install \

Dockerfile.arm64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
1212
&& git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools \
1313
&& mkdir ../webrtc \
1414
&& cd ../webrtc \
15-
&& fetch --no-history --nohooks webrtc \
15+
&& fetch --nohooks webrtc \
1616
&& cd ../webrtc-streamer \
1717
&& cmake -DCMAKE_INSTALL_PREFIX=/app -DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY -DWEBRTCDESKTOPCAPTURE=OFF . && make \
1818
&& make install \

Dockerfile.rpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
1919
&& git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools \
2020
&& mkdir ../webrtc \
2121
&& cd ../webrtc \
22-
&& fetch --no-history --nohooks webrtc \
22+
&& fetch --nohooks webrtc \
2323
&& cd ../webrtc-streamer \
2424
&& cmake -DCMAKE_INSTALL_PREFIX=/app -DCMAKE_SYSTEM_PROCESSOR=${ARCH} -DCMAKE_LIBRARY_ARCHITECTURE=arm-linux-gnueabihf -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY -DWEBRTCDESKTOPCAPTURE=OFF . && make \
2525
&& make install \

Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN git config --global core.autocrlf false \
3131
&& set \
3232
&& time /t \
3333
&& mkdir c:\webrtc && cd c:\webrtc \
34-
&& fetch --no-history --nohooks webrtc \
34+
&& fetch --nohooks webrtc \
3535
&& time /t \
3636
&& cd C:\webrtc-streamer \
3737
&& cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/app -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe -DCMAKE_MAKE_PROGRAM=ninja.bat . \

0 commit comments

Comments
 (0)