.gitlab-ci.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. variables:
  2. CI_ENABLE_UNIT_TESTING: 1
  3. CI_TARGET_BUILD_DEPENDS: uclient
  4. include:
  5. - remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/main.yml
  6. - local: .gitlab/wolfssl.yml
  7. .native ustream-ssl backend:
  8. extends: .openwrt-native-build
  9. before_script:
  10. - git clone https://git.openwrt.org/project/ustream-ssl.git
  11. - |
  12. cd ustream-ssl &&
  13. git log -1 &&
  14. export VERBOSE=1 &&
  15. mkdir -p build && cd build &&
  16. cmake .. -DCMAKE_INSTALL_PREFIX=/usr $CI_CMAKE_EXTRA_BUILD_ARGS && cd .. &&
  17. make -j$(($(nproc)+1)) -C build &&
  18. sudo make install -C build && cd ..
  19. - cd $CI_PROJECT_DIR
  20. - rm -fr ustream-ssl
  21. various native checks with ustream-ssl/wolfSSL backend (master branch):
  22. extends: .ustream-ssl wolfSSL master
  23. various native checks with ustream-ssl/wolfSSL backend (release branch):
  24. extends: .ustream-ssl wolfSSL release
  25. various native checks with ustream-ssl/OpenSSL backend:
  26. extends: .native ustream-ssl backend
  27. various native checks with ustream-ssl/mbedTLS backend:
  28. extends: .native ustream-ssl backend
  29. variables:
  30. CI_CMAKE_EXTRA_BUILD_ARGS: -DMBEDTLS=on
  31. build with Atheros ATH79 SDK (out of tree):
  32. extends: .openwrt-sdk-oot-build_ath79-generic
  33. build with Freescale i.MX 6 SDK (out of tree):
  34. extends: .openwrt-sdk-oot-build_imx6-generic
  35. build with MIPS Malta CoreLV BE SDK (out of tree):
  36. extends: .openwrt-sdk-oot-build_malta-be
  37. build with Marvell Armada Cortex A-53 SDK (out of tree):
  38. extends: .openwrt-sdk-oot-build_mvebu-cortexa53