summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-12-08 16:51:44 +0100
committerPetr Štetiar <ynezz@true.cz>2020-12-11 12:27:44 +0100
commit68d09243b6fd4473004b27ff6483352e76e6af1a (patch)
treeb6bc1ed2a7d56bda328e2f64ff7342ab9c8586ae
parent8280140db9d121cb476335a7fa49de02a63fd9b5 (diff)
downloadustream-ssl-68d09243b6fd4473004b27ff6483352e76e6af1a.tar.gz
Add initial GitLab CI support
Uses currently proof-of-concept openwrt-ci[1] in order to: * improve the quality of the codebase in various areas * decrease code review time and help merging contributions faster * get automagic feedback loop on various platforms and tools - out of tree build with OpenWrt SDK on following targets: * ath79-generic * imx6-generic * malta-be * mvebu-cortexa53 - out of tree native build on x86/64 with GCC (versions 8, 9, 10) and Clang 10 - out of tree native x86/64 static code analysis with cppcheck and scan-build from Clang 10 1. https://gitlab.com/ynezz/openwrt-ci/ Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--.gitlab-ci.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..4f314e2
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,30 @@
+variables:
+ CI_TARGET_BUILD_DEPENDS: libubox openssl
+
+include:
+ - remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/main.yml
+
+various native checks with ustream-ssl/OpenSSL backend:
+ extends: .openwrt-native-build
+
+various native checks with ustream-ssl/mbedTLS backend:
+ extends: .openwrt-native-build
+ variables:
+ CI_CMAKE_EXTRA_BUILD_ARGS: -DMBEDTLS=on
+
+various native checks with ustream-ssl/wolfSSL backend:
+ extends: .openwrt-native-build
+ variables:
+ CI_CMAKE_EXTRA_BUILD_ARGS: -DWOLFSSL=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