wolfssl.yml 1.1 KB

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