Skip to content

Commit 01370ce

Browse files
author
Ahmed Yarub Hani Al Nuaimi
committed
Fix GitHub Workflows
1 parent 79b2c29 commit 01370ce

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,26 @@ jobs:
2222
cd libwebsockets
2323
mkdir build
2424
cd build
25-
cmake ..
26-
make
25+
cmake .. -DLWS_WITHOUT_TESTAPPS=ON -DLWS_WITHOUT_TEST_SERVER=ON-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
26+
-DLWS_WITHOUT_TEST_PING=ON -DLWS_WITHOUT_TEST_CLIENT=ON -DCMAKE_C_FLAGS="-fpic"
27+
make -j $(cat /proc/cpuinfo | grep processor | wc -l)
2728
sudo make install
2829
- name: Prepare libyaml
2930
run: |
3031
git clone https://github.com/yaml/libyaml
3132
cd libyaml
3233
mkdir build
3334
cd build
34-
cmake ..
35-
make
35+
cmake .. -DBUILD_TESTING=OFF
36+
make -j $(cat /proc/cpuinfo | grep processor | wc -l)
3637
sudo make install
3738
- name: Build client library
3839
run: |
3940
cd kubernetes
4041
mkdir build
4142
cd build
4243
cmake ..
43-
make
44+
make -j $(cat /proc/cpuinfo | grep processor | wc -l)
4445
- name: Build authentication plugin - oidc
4546
run: |
4647
cd kubernetes/config/authn_plugin/plugins/oidc

0 commit comments

Comments
 (0)