uclient-http: set eof mark when content-length is 0
[project/uclient.git] / .gitlab-ci.yml
1 variables:
2 CI_ENABLE_UNIT_TESTING: 1
3 CI_TARGET_BUILD_DEPENDS: uclient
4
5 include:
6 - remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/main.yml
7
8
9 .native ustream-ssl backend:
10 extends: .openwrt-native-build
11
12 before_script:
13 - git clone https://git.openwrt.org/project/ustream-ssl.git
14 - |
15 cd ustream-ssl &&
16 git checkout -b testing origin/$CI_COMMIT_BRANCH &&
17 export VERBOSE=1 &&
18 mkdir -p build && cd build &&
19 cmake .. -DCMAKE_INSTALL_PREFIX=/usr $CI_CMAKE_EXTRA_BUILD_ARGS && cd .. &&
20 make -j$(($(nproc)+1)) -C build &&
21 sudo make install -C build && cd ..
22
23 various native checks with ustream-ssl/OpenSSL backend:
24 extends: .native ustream-ssl backend
25
26 various native checks with ustream-ssl/mbedTLS backend:
27 extends: .native ustream-ssl backend
28 variables:
29 CI_CMAKE_EXTRA_BUILD_ARGS: -DMBEDTLS=on
30
31 various native checks with ustream-ssl/wolfSSL backend:
32 extends: .native ustream-ssl backend
33 variables:
34 CI_CMAKE_EXTRA_BUILD_ARGS: -DWOLFSSL=on
35
36 build with Atheros ATH79 SDK (out of tree):
37 extends: .openwrt-sdk-oot-build_ath79-generic
38
39 build with Freescale i.MX 6 SDK (out of tree):
40 extends: .openwrt-sdk-oot-build_imx6-generic
41
42 build with MIPS Malta CoreLV BE SDK (out of tree):
43 extends: .openwrt-sdk-oot-build_malta-be
44
45 build with Marvell Armada Cortex A-53 SDK (out of tree):
46 extends: .openwrt-sdk-oot-build_mvebu-cortexa53