Skip to content

Commit 79b2c29

Browse files
author
Ahmed Yarub Hani Al Nuaimi
committed
Build libyaml in GitHub Workflows
1 parent fdde49b commit 79b2c29

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Prepare
1616
run: |
1717
sudo apt-get update
18-
sudo apt-get install -y libssl-dev libcurl4-openssl-dev uncrustify libyaml-dev
18+
sudo apt-get install -y libssl-dev libcurl4-openssl-dev uncrustify
1919
- name: Prepare libwebsockets
2020
run: |
2121
git clone https://libwebsockets.org/repo/libwebsockets --depth 1 --branch v4.2-stable
@@ -25,6 +25,15 @@ jobs:
2525
cmake ..
2626
make
2727
sudo make install
28+
- name: Prepare libyaml
29+
run: |
30+
git clone https://github.com/yaml/libyaml
31+
cd libyaml
32+
mkdir build
33+
cd build
34+
cmake ..
35+
make
36+
sudo make install
2837
- name: Build client library
2938
run: |
3039
cd kubernetes

0 commit comments

Comments
 (0)