diff mbox series

[OpenWrt-Devel,v2,libubox,03/10] add initial GitLab CI support

Message ID 20191120214353.27652-4-ynezz@true.cz
State Accepted
Delegated to: Petr Štetiar
Headers show
Series fixes, unit tests and GitLab CI | expand

Commit Message

Petr Štetiar Nov. 20, 2019, 9:43 p.m. UTC
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 10

1. https://gitlab.com/ynezz/openwrt-ci/

Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 .gitlab-ci.yml
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000000..e1ed5706e27d
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,7 @@ 
+variables:
+  CI_TARGET_BUILD_DEPENDS: libubox
+  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