-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitlab-ci.yml
50 lines (38 loc) · 1.51 KB
/
.gitlab-ci.yml
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
43
44
45
46
47
48
49
50
variables:
CI_ENABLE_UNIT_TESTING: 1
CI_TARGET_BUILD_DEPENDS: uclient
include:
- remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/main.yml
- local: .gitlab/wolfssl.yml
.native ustream-ssl backend:
extends: .openwrt-native-build
before_script:
- 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 ..
- cd $CI_PROJECT_DIR
- rm -fr ustream-ssl
various native checks with ustream-ssl/wolfSSL backend (master branch):
extends: .ustream-ssl wolfSSL master
various native checks with ustream-ssl/wolfSSL backend (release branch):
extends: .ustream-ssl wolfSSL release
various native checks with ustream-ssl/OpenSSL backend:
extends: .native ustream-ssl backend
various native checks with ustream-ssl/mbedTLS backend:
extends: .native ustream-ssl backend
variables:
CI_CMAKE_EXTRA_BUILD_ARGS: -DMBEDTLS=on
build with Atheros ATH79 SDK (out of tree):
extends: .openwrt-sdk-oot-build_ath79-generic
build with Freescale i.MX 6 SDK (out of tree):
extends: .openwrt-sdk-oot-build_imx6-generic
build with MIPS Malta CoreLV BE SDK (out of tree):
extends: .openwrt-sdk-oot-build_malta-be
build with Marvell Armada Cortex A-53 SDK (out of tree):
extends: .openwrt-sdk-oot-build_mvebu-cortexa53