summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-12-11 12:59:40 +0100
committerPetr Štetiar <ynezz@true.cz>2019-12-16 23:39:16 +0100
commitb2e54423867258d721ca421c4b1f179291acd6cd (patch)
tree3a2038b77f666a1f593a8d54711b8aca1c3cc8e2
parent058f4e9526edbba5c6330d7024ef1dac78c3ac2b (diff)
downloadubus-b2e54423867258d721ca421c4b1f179291acd6cd.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 7, 8, 9) and Clang 10 - out of tree native x86/64 static code analysis with cppcheck and scan-build from Clang 9 1. https://gitlab.com/ynezz/openwrt-ci/ Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..1b4d5a7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,7 @@
+variables:
+ CI_TARGET_BUILD_DEPENDS: ubus
+ CI_CMAKE_EXTRA_BUILD_ARGS: -DLUAPATH=/usr/lib/lua
+
+include:
+ - remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/main.yml
+ - remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/pipeline.yml