File tree 5 files changed +5
-33
lines changed
5 files changed +5
-33
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,7 @@ ARG VARIANT="jammy"
5
5
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
6
6
7
7
RUN apt-get update && \
8
- apt-get install -qq -y git libssl-dev libcurl4-openssl-dev uncrustify cmake g++
9
-
10
- RUN git clone https://github.com/warmcat/libwebsockets --depth 1 --branch v4.2-stable && \
11
- cd libwebsockets && \
12
- mkdir build && \
13
- cd build && \
14
- cmake -DLWS_WITHOUT_TESTAPPS=ON -DLWS_WITHOUT_TEST_SERVER=ON-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
15
- -DLWS_WITHOUT_TEST_PING=ON -DLWS_WITHOUT_TEST_CLIENT=ON -DCMAKE_C_FLAGS="-fpic" -DCMAKE_INSTALL_PREFIX=/usr/local .. && \
16
- make && make install
8
+ apt-get install -qq -y git libssl-dev libcurl4-openssl-dev libwebsockets-dev uncrustify cmake g++
17
9
18
10
# Build pre-requisite: libyaml
19
11
RUN git clone https://github.com/yaml/libyaml --depth 1 --branch release/0.2.5 && \
Original file line number Diff line number Diff line change 15
15
- name : Prepare
16
16
run : |
17
17
sudo apt-get update
18
- sudo apt-get install -y libssl-dev libcurl4-openssl-dev uncrustify valgrind
19
- - name : Prepare libwebsockets
20
- run : |
21
- git clone https://github.com/warmcat/libwebsockets --depth 1 --branch v4.2-stable
22
- cd libwebsockets
23
- mkdir build
24
- cd build
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)
28
- sudo make install
18
+ sudo apt-get install -y libssl-dev libcurl4-openssl-dev libwebsockets-dev uncrustify valgrind
29
19
- name : Prepare libyaml
30
20
run : |
31
21
git clone https://github.com/yaml/libyaml --depth 1 --branch release/0.2.5
Original file line number Diff line number Diff line change @@ -14,17 +14,7 @@ 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
18
-
19
- # Build pre-requisite: libwebsockets
20
- git clone https://github.com/warmcat/libwebsockets --depth 1 --branch v4.2-stable
21
- cd libwebsockets
22
- mkdir build
23
- cd build
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
17
+ sudo apt-get install libssl-dev libcurl4-openssl-dev libwebsockets-dev uncrustify
28
18
29
19
# Build pre-requisite: libyaml
30
20
git clone https://github.com/yaml/libyaml --depth 1 --branch release/0.2.5
Original file line number Diff line number Diff line change 1
1
find_package (OpenSSL REQUIRED)
2
2
find_package (ZLIB REQUIRED)
3
3
find_package (yaml CONFIG REQUIRED)
4
- find_package (libwebsockets CONFIG REQUIRED)
4
+ find_package (Libwebsockets CONFIG REQUIRED)
5
5
6
6
include (
"${CMAKE_CURRENT_LIST_DIR} /@[email protected] " )
Original file line number Diff line number Diff line change @@ -44,5 +44,5 @@ list(APPEND HDRS
44
44
include /generic.h
45
45
include /utils.h)
46
46
47
- find_package (libwebsockets CONFIG REQUIRED)
47
+ find_package (Libwebsockets CONFIG REQUIRED)
48
48
find_package (yaml CONFIG REQUIRED)
You can’t perform that action at this time.
0 commit comments