Skip to content

Commit ec9a089

Browse files
committed
.github: coverity: use matching sysrepo + libyang versions
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent d0c2898 commit ec9a089

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/coverity.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
env:
99
PROJECT_NAME: Infix
1010
CONTACT_EMAIL: troglobit@gmail.com
11+
LIBYANG_VERSION: 4.2.2
12+
SYSREPO_VERSION: 4.2.10
1113

1214
jobs:
1315
coverity:
@@ -59,12 +61,20 @@ jobs:
5961
6062
- name: Build dependencies
6163
run: |
62-
git clone https://github.com/CESNET/libyang.git
64+
git clone -b v${LIBYANG_VERSION} --depth 1 https://github.com/CESNET/libyang.git
65+
for p in patches/libyang/${LIBYANG_VERSION}/*.patch; do
66+
git -C libyang apply < "$p"
67+
done
6368
mkdir libyang/build
6469
(cd libyang/build && cmake .. && make all && sudo make install)
65-
git clone https://github.com/sysrepo/sysrepo.git
70+
71+
git clone -b v${SYSREPO_VERSION} --depth 1 https://github.com/sysrepo/sysrepo.git
72+
for p in patches/sysrepo/${SYSREPO_VERSION}/*.patch; do
73+
git -C sysrepo apply < "$p"
74+
done
6675
mkdir sysrepo/build
6776
(cd sysrepo/build && cmake .. && make all && sudo make install)
77+
6878
git clone https://github.com/troglobit/libite.git
6979
(cd libite && ./autogen.sh && ./configure && make && sudo make install)
7080
make dep

0 commit comments

Comments
 (0)