File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 28
28
sudo make install
29
29
- name : Prepare libyaml
30
30
run : |
31
- git clone https://github.com/yaml/libyaml
31
+ git clone https://github.com/yaml/libyaml --depth 1 --branch release/0.2.5
32
32
cd libyaml
33
33
mkdir build
34
34
cd build
Original file line number Diff line number Diff line change @@ -14,14 +14,24 @@ git clone https://github.com/kubernetes-client/c
14
14
CLIENT_REPO_ROOT=${PWD} /c
15
15
16
16
# Install pre-requisites
17
- sudo apt-get install libssl-dev libcurl4-openssl-dev uncrustify libyaml-dev
17
+ sudo apt-get install libssl-dev libcurl4-openssl-dev uncrustify
18
18
19
19
# Build pre-requisite: libwebsockets
20
20
git clone https://libwebsockets.org/repo/libwebsockets --depth 1 --branch v4.2-stable
21
21
cd libwebsockets
22
22
mkdir build
23
23
cd build
24
- cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
24
+ cmake -DLWS_WITHOUT_TESTAPPS=ON -DLWS_WITHOUT_TEST_SERVER=ON-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
25
+ -DLWS_WITHOUT_TEST_PING=ON -DLWS_WITHOUT_TEST_CLIENT=ON -DCMAKE_C_FLAGS=" -fpic" -DCMAKE_INSTALL_PREFIX=/usr/local ..
26
+ make
27
+ sudo make install
28
+
29
+ # Build pre-requisite: libyaml
30
+ git clone https://github.com/yaml/libyaml --depth 1 --branch release/0.2.5
31
+ cd libyaml
32
+ mkdir build
33
+ cd build
34
+ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_TESTING=OFF ..
25
35
make
26
36
sudo make install
27
37
You can’t perform that action at this time.
0 commit comments