Skip to content

Commit e62d5fd

Browse files
committed
chore: add protobuf lib for workflows
1 parent f4f2599 commit e62d5fd

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ jobs:
4444
libasound2-dev \
4545
libjpeg-dev \
4646
libcamera-dev \
47-
libmosquitto-dev
47+
libmosquitto-dev \
48+
protobuf-compiler \
49+
libprotobuf-dev
4850
4951
- name: Check out code
5052
uses: actions/checkout@v4
53+
with:
54+
submodules: recursive
5155

5256
- name: Build project
5357
run: |

.github/workflows/docker_build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
libasound2-dev \
6363
libjpeg-dev \
6464
libcamera-dev \
65-
libmosquitto-dev &&
65+
libmosquitto-dev \
66+
protobuf-compiler \
67+
libprotobuf-dev &&
6668
cd /app &&
6769
wget -q https://github.com/TzuHuanTai/Native-WebRTC-Build/releases/download/5790/libwebrtc-arm64.tar.gz &&
6870
tar -xzf libwebrtc-arm64.tar.gz &&
@@ -99,6 +101,8 @@ jobs:
99101
steps:
100102
- name: Checkout code
101103
uses: actions/checkout@v4
104+
with:
105+
submodules: recursive
102106

103107
- name: Restore Docker Image from Cache
104108
uses: actions/cache@v4

.github/workflows/qemu_build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ jobs:
112112
libasound2-dev \
113113
libjpeg-dev \
114114
libcamera-dev \
115-
libmosquitto-dev && \
115+
libmosquitto-dev \
116+
protobuf-compiler \
117+
libprotobuf-dev && \
116118
wget -q https://github.com/TzuHuanTai/Native-WebRTC-Builder/releases/download/5790/libwebrtc-arm64.tar.gz &&
117119
tar -xzf libwebrtc-arm64.tar.gz &&
118120
sudo mkdir -p /usr/local/include/webrtc &&
@@ -168,6 +170,8 @@ jobs:
168170
169171
- name: Checkout code
170172
uses: actions/checkout@v4
173+
with:
174+
submodules: recursive
171175

172176
- name: Build project inside Raspberry Pi OS
173177
run: |

0 commit comments

Comments
 (0)