blob: 3e4b6fb76c8426e263676b05808625f1f9970a50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
.ustream-ssl wolfSSL:
extends: .openwrt-native-build
variables:
CI_CMAKE_EXTRA_BUILD_ARGS: -DWOLFSSL=on
before_script:
- git clone -b $CI_WOLFSSL_TEST_BRANCH --depth 1 https://github.com/wolfSSL/wolfssl
- |
cd wolfssl &&
git log -1 &&
./autogen.sh &&
./configure \
--enable-sni \
--enable-opensslall \
--enable-opensslextra \
--enable-altcertchains \
--prefix=/usr &&
make -j$(($(nproc)+1)) all &&
sudo make install && cd ..
- git clone https://git.openwrt.org/project/ustream-ssl.git
- |
cd ustream-ssl &&
git log -1 &&
export VERBOSE=1 &&
mkdir -p build && cd build &&
cmake .. -DCMAKE_INSTALL_PREFIX=/usr $CI_CMAKE_EXTRA_BUILD_ARGS && cd .. &&
make -j$(($(nproc)+1)) -C build &&
sudo make install -C build
- cd $CI_PROJECT_DIR
- rm -fr wolfssl ustream-ssl
.ustream-ssl wolfSSL master:
extends: .ustream-ssl wolfSSL
variables:
CI_WOLFSSL_TEST_BRANCH: master
.ustream-ssl wolfSSL release:
extends: .ustream-ssl wolfSSL
variables:
CI_WOLFSSL_TEST_BRANCH: release
|